Regular Expressions Question

Discussion in 'Programming' started by Project Mobius, Jan 9, 2009.

  1. #1
    Hi guys,

    Can anyone tell me the regular expression in English for this? :confused:
    \\<a .*?href=\\\"(.*?)\\\".*?\\>

    Thanks!
    PM
     
    Project Mobius, Jan 9, 2009 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    it seems it is searching for any links into a string
     
    crivion, Jan 10, 2009 IP
  3. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    #3
    Its mathcing parts of anchor tag of html I think.

    Grabbing two things :
    1) url of the anchor
    2) Except href part , everything which is left.
     
    harrisunderwork, Jan 10, 2009 IP
  4. Project Mobius

    Project Mobius Peon

    Messages:
    10,524
    Likes Received:
    170
    Best Answers:
    0
    Trophy Points:
    0
    #4
    man this is confusing me, but thank you
     
    Project Mobius, Jan 12, 2009 IP