in reply to
replacing clickable web and email addresses
You can try to see what guys in "Perl Text to HTML" Project have done.
Also there is a perl program called txt2html - probably you can be enspired from it's sources.
Priority 1, Priority 2, Priority 3
Priority 1, Priority 0, Priority -1
Urgent, important, favour
Data loss, bug, enhancement
Out of scope, out of budget, out of line
Family, friends, work
Impossible, inconceivable, implemented
Results (68 votes),