From: Austin Ziegler Date: 2006-01-11T00:17:50+09:00 Subject: Re: Remove HTML from String? On 09/01/06, Eric Schwartz wrote: > More like, "Just pray the HTML you are modifying doesn't happen to be > completely valid, but not formed in exactly the way you are > expecting." For instance, the following HTML snippet is completely > valid, but screws up the regex: > >

a > b

Actually, that is *not* completely valid, at least not valid XHTML (which is what I use these days). You have to do that as:

a > b

But my regexp wasn't intended to be complete; there are full libraries out there for that. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca