[Mediawiki-l] Parsing raw text

Thomas Dalton thomas.dalton at gmail.com
Sat Jan 5 16:20:08 UTC 2008


> > Ah! I see. I was thinking about HTML tables and was completely
> > confused! Would a simple regexp that removes everything between < and
> >> do the trick? I've never really got the hang of regexps, so I won't
> > give you any code to try, but it should be a relatively easy one, I
> > imagine.
>
> You shouldn't use regex for HTML tags. Use the php function strip_tags()

That's the problem with being a novice user of a language. You end up
doing things the hard way because you don't know the existence of a
built in function to do all the work for you!



More information about the MediaWiki-l mailing list