Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Parsing PHPBB style URLs
06-17-2010, 04:07 PM #1
- Join Date
- Jul 2009
- Chicago, IL
- Thanked 3 Times in 3 Posts
Parsing PHPBB style URLs
I am writing some code to parse URLs that are in the format of "left-bracket url=http://www.google.com]Google[/url right-bracket. I am trying to convert this form into the standard HTML <a></a> style. The problem I am running into is if there are multiple hyperlinks in the message. What would be the most efficient way of going through the message and replacing all links in the PHPBB format with the HTML URL format?
Last edited by wldrumstcs; 06-17-2010 at 04:58 PM.