[Fwd: SPUG:regex question]
schieb at centurytel.net
Tue Jan 28 14:01:18 CST 2003
Will try again. Expected I was the only one who did not know the regex
for removing all non-printable characters from a text string, but
haven't got the answer just yet.
Super-spiffy regex to accomplish this would be most appreciated.
> 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?
> Seattle Perl Users Group Mailing List
> POST TO: spug-list at mail.pm.org
> ACCOUNT CONFIG: http://mail.pm.org/mailman/listinfo/spug-list
> MEETINGS: 3rd Tuesdays, U-District, Seattle WA
> WEB PAGE: www.seattleperl.org
More information about the spug-list