Var strToReplace="...apostrophes..."; var pattern:RegExp=/'/gi; strToReplace=strToReplace.replace(pattern, "'");
Or something like this -----Messaggio originale----- Da: Patil, Virat [mailto:[email protected]] Inviato: mercoledì 21 maggio 2014 15:54 A: [email protected] Oggetto: Replacing Apostrophe (') Hello Guys Is there way to replace apostrophe (') with html element Example < is replaced with < Similarly I want it for ' Regards Virat I Patil This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
