You could just do the basic stuff, double and single quotes, add any that
you come across to your RegEx when you find them.

Ade

-----Original Message-----
From: Taz -=TT=- [mailto:[EMAIL PROTECTED]]
Sent: 06 September 2002 13:18
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] non ascii MSword malarchy


Its a complete arse.. I don't think there is a good way to stop the crap
getting through, so I always tell clients to paste it into notepad, then
copy it from there and paste it into activedit

I think a bunch of Regexs to get rid of all the M$ crap would be a hell of a
lot of code.

Taz


> No -- various clients have CMS where they are copying contents of a Word
doc
> into a form field (activeedit for instance) and then save it to their db.
> I'm looking for a way to strip illegal characters from this when it is
> submitted and convert them to ascii characters...
>
> hope that's clearer!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


Reply via email to