Results 1 to 2 of 2

Thread: matching url

  1. #1
    Join Date
    Jun 2011
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default matching url

    i need regex to find all the urls from a page

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    This is unclear what you want, Please be more specific. If you are only looking for a regular expression than I think

    PHP Code:
    (http://.*?\)s+ 
    would work.
    Corrections to my coding/thoughts welcome.

Bookmarks

Posting Permissions

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