Regex highlight html
NOSPAM plz
nospam at riddergarn.dk
Tue Feb 13 08:13:26 EST 2007
Hey,
I want to write a function that highlights html code.
I have read the wiki page http://en.wikipedia.org/wiki/Regular_expressions
just like this:
<img scr="test.png" alt="test pic" height="100" width="100">
<a href="#">test</a>
to this:
<img scr="test.png" alt="test pic" height="100" width="100">
<a href="#">test</a>
Just example colors - not so pretty :)
Any suggestions?
Andreas
More information about the Python-list
mailing list