re: remove high ASCII chars from text

2011-07-11 Thread Jason Fisher
Try this (not tested): Text = reReplace(Text, [^\x20-\x7E], , all); From: Matthew Friedman m...@hozgroup.com Sent: Monday, July 11, 2011 12:48 PM To: cf-talk cf-talk@houseoffusion.com Subject: remove high ASCII chars from text Is there a simple way to

Re: remove high ASCII chars from text

2011-07-11 Thread Peter Boughton
Jason wrote: Text = reReplace(Text, [^\x20-\x7E], , all); That'll also strip tabs, newlines and carriage returns, which probably isn't desired. Use [^\t\n\r\x20-\x7E] to keep them. However, this shouldn't be necessary - doesn't TinyMCE already have the ability to clean-up MS Word pastes?