Regular Expression Help

Discussion in 'Programming' started by geforce, Nov 16, 2011.

  1. #1
    Hi,

    I am looking to build a regular expression to extract some data in a VB.NET form.

    The data I want is as follows:

    
    <span class="style1">DATA I WANT IS HERE</span>
    
    Code (markup):
    I have tried:
    
    /\s*<span class=""style1"">(.*)</span>\s*/siU
    
    Code (markup):
    But get no matches. Any help?

    Thanks :)
     
    geforce, Nov 16, 2011 IP
  2. geforce

    geforce Active Member

    Messages:
    173
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #2
    Solved it. Bit of a blonde moment :p
     
    geforce, Nov 17, 2011 IP