I am trying to create a text only version of an HTML formatted message. I would like to convert all links from: <a href="http://domain.tld.page.ext">link name</a> to: link name [http://domain.tld/page.ext]
The problem is that some links may have additional modifiers and onthers may not. I have seen many examples of doing the reverse, but I can't seem to find an example of this. If anyone has done something similar and would like to share, please do. Thanks, -Jackson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php