Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    Jul 2009
    Location
    Chicago, IL
    Posts
    169
    Thanks
    26
    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 03:58 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •