You should enquote the href string or you will be unable to parse it with a
XML library later, also your code will not be XHTML compliant.
On Sat, Mar 27, 2010 at 2:57 AM, Jim Ault jimaultw...@yahoo.com wrote:
First, I think you have a typo...
E-mail: a
Thanks for the XHTML compliant tip, Andre. Good to know.
Jim Ault
Las Vegas
On Mar 27, 2010, at 5:43 AM, Andre Garzia wrote:
You should enquote the href string or you will be unable to parse it
with a
XML library later, also your code will not be XHTML compliant.
On Sat, Mar 27, 2010 at
Aloha, Jim:
Brilliant, thank you.
Yes, Andre is right, one wants definitely wants href values otherwise it
can bite you later.
repeat for each line LNN in emailAddrList
put format (a href=\ LNN \ LNN /a) into LNNLinked
replace LNN with LNNLinked in masterList
works...
IOn
anyone have an efficient script for tagging email address with links?
let's say I have a chunk of plain text made up of one or more of these:
And we want to replace them with links
Mr. Wonder Boy
108 Webster Avenue
1004 Mount Zena,
NEW ZEALAND
E-mail: wonder...@orcon.net.nz ¬
Mr. Wonder
On Mar 26, 2010, at 10:40 PM, Sivakatirswami wrote:
anyone have an efficient script for tagging email address with links?
I have used the algorithm below several time for similar needs. The basic
concept is as follows:
* Create a regular expression matching what you are looking for
* Loop
First, I think you have a typo...
E-mail: a
href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz/a¬
is missing the closing ''
E-mail: a
href=Mailto:wonder...@orcon.net.nzwonder...@orcon.net.nz/a¬
secondly, the href string does not have to be enclosed in quotes, so
E-mail: a