Changed stripCData to use regex method to catch the CDATA tags