parsing HTML text

From: Date: Tue, 07 May 2002 17:44:52 +0000
Subject: parsing HTML text
Groups: php.general 
Request: Send a blank email to php-general+get-96468@lists.php.net to get a copy of this message
I have written form screen which has as one of it's elements a <textarea> box in which a user can input some text --like a simple bio-- which will appear on another screen. I'd like to edit check this text. It would be a good idea to make sure that it has, among other things, no <form> elements, say, or to make sure that if a <font> tag occurs, that a matching </font> tag is present. Is anyone aware of a class or a package which I can use to parse this text and do this kind of validation? tia -lee -- When the birdcage is open, | donate to causes I care about: the selfish bird flies away, | http://svcs.affero.net/rm.php?r=leed_25 but the virtuous one stays. |

« previous php.general (#96468) next »