SPUG:regex question

Islandman schieb at centurytel.net
Fri Jan 24 18:57:59 CST 2003


SPUG,
 Regex problem. A user wants to cut-n-paste text from a WORD doc into a
browser form. The WORD doc of course has nasty non-alpha characters in
it that I'd like to remove in most cases, perhaps replace with other
text in a few others. Here's an example:
 
 Your kids complain, Â~SNot that again!Â~T

BTW,  was a "bullet" in WORD. 

What kind of regex would help clean this text, or is there a better
solution to the problem?

Thanks,
 -Brian



More information about the spug-list mailing list