SPUG:regex question

Ben Reser ben at reser.org
Fri Jan 24 19:18:13 CST 2003

On Fri, Jan 24, 2003 at 04:57:59PM -0800, Islandman wrote:
>  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?

I'm not sure how much this will help but take a look at demoroniser.

Ben Reser <ben at reser.org>

"America does not go abroad in search of monsters to destroy. She is
the well-wisher to the freedom and independence of all. She is the
champion only of her own." -- John Quincy Adams, July 4th, 1821

More information about the spug-list mailing list