Tech Off Post

Single Post Permalink

View Thread: Retrieving all valid URLs/URIs from a string
  • User profile image
    YuviPanda

    I think this regexp is what you need:
    <a href="(?<url>http://.*?)".*>(?<text>.+?)<\/a>
    That's a .NET regexp though, so you may need to modify it to work on your blogging platform's language....