WORD to text problem
| From: | Tedd Sperling | Date: | Sun, 03 May 2020 19:25:24 +0000 |
| Subject: | WORD to text problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-327131@lists.php.net to get a copy of this message | ||
Hi gang:
I have a problem where I have lot’s of people going to be putting data into a form. I can handle
that OK — it's not a problem scrubbing the data for db storage.
However, some of these “civilians” will use WORD even though the instructions tell them to use a
text processor, only enter text, and NOT to use WORD!
Unfortunately, I know it will be a losing battle because I am up against hundreds of people who want
to submit data as they think it should look (i.e., bold, italic, different fonts, size, styles, and
the list goes on an on).
Also, I am positive some of you have solved this problem before by using preg_match, or regex, or
some other method. So, I am asking to just to save myself some time.
Does anyone have any code they can share?
Thanks,
Tedd
_______________
Tedd Sperling
tedd.sperling@gmail.com