I'm making a call to a web service where it returns the email with special characters Â‡
It does not always return Â‡, sometimes it's others and I won't know.
I have the following xml string where I want to clean up the email
var strResponse = '<Body><PaxRS><ItineraryRef ID="XBHGGE"/><TravelRS><Travel><CustomerInfo><PersonName><Email>Â‡JOHNDOE@AOL.COMÂ‡1.1</Email></PersonName></CustomerInfo></Travel></TravelRS></PaxRS></Body>';
I want to be able to clean up the email of any special characters that exist, how can I do this in xjs if i don't know the exact special characters that the web service would be returning?