Strip HTML codes from a string?
| From: | John Vanderbeck | Date: | Sat, 17 Feb 2001 17:33:14 +0000 |
| Subject: | Strip HTML codes from a string? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40364@lists.php.net to get a copy of this message | ||
I'm really crappy with regex's, and I can't find a good tutorial on using
them , and all the syntaxes. What I need to do is strip all HTML tags from
a string.
This is from a form, where a user can submit comments on things, but I need
to strip the HTML out, in case anyone tries to abuse it :)
- John Vanderbeck
- Admin, GameDesign