htmlize

1 view
Skip to first unread message

Gareth

unread,
Feb 18, 2009, 7:08:38 AM2/18/09
to Hackvertor
Just added this now because I needed it:-

<http://www.businessinfo.co.uk/labs/hackvertor/hackvertor.php?
input=PEBodG1saXplXzAoXHMsPHNwYW4%2Be3RleHR9PC9zcGFuPiwiIik
%2BdGVzdDEgdGVzdDIgdGVzdDMgdGVzdDQ8QC9odG1saXplXzA%2B>

You can htmlize some text based on a regular expression.

Params
------------
1. RegExp to split the text
2. HTML to be enclosed round the text. It uses a {text} placeholder to
replace the text.
3. Joining character to complete the join

There's a bug in the Hackvertor main code with params, when using the
a comma, this is due to the regular expressions struggling to match
either a param or text. I hope to fix this soon when I have time
Reply all
Reply to author
Forward
0 new messages