It is basically white spaces delimited unless it has a quote. I thought about using HTML::TokeParse to get the attributes out, but I am trying to avoid installing the pm on several hundred ws. Is there a quick and dirty way to get this string tokenized? Thanks --------------------- After looking through all the comment, I decided to go with installing the pm. It makes more sense to pay for the package installation than dealing with maintaining the regexp. Thanks for the replies<a style='postion: top; font:roman' href=hi.html href='bold' src=" i +mage" /> token 1 = a token 2 = style='postion: top; font:roman' token 3 = href=hi.html token 4 = href='bold' token 5 = src=" image" token 6 = /
In reply to tokenize a string by rhymejerky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |