------ art_51085_15124700.1153641106744 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/23/06, Stefan Scholl <stesch / no-spoon.de> wrote: > > Max Benjamin <moore.joseph / gmail.com> wrote: > > Is there an easy way to strip html tags from strings? > > A regex isn't always the _best_ way to deal with markup > languages, but for an _easy_ way it's good enough. the problem is, it's not always the _correct_ way. <div id eird>id"></div> But, having a > in an attribute is rare; if one-in-a-blue-moon errors are ok, regexes are a nice easy solution. ;D -- Daniel Baird http://tiddlyspot.com (free, effortless TiddlyWiki hosting) http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog :: Things That Suck) ------ art_51085_15124700.1153641106744--