#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2016
    Posts
    1
    Rep Power
    0

    Read any HTML Tags


    Hy
    I'm trying to get the different value tags :

    <input type=radio name=event value=" ?

    to get the values "Silvesterlauf", "Winterlauf", ...

    Code:
    <body>
    blablabla
    <pre><code>[br]<input type=radio name=event value="Silvesterlauf"> <a _
      href="results?type=rang&year=2016&event="Silvesterlauf>Silvesterlauf</a_
      > 10. Jan. 2016 
    [br]<input type=radio name=event value="Winterlauf"> <a _
    href="results?type=rang&year=2016&event=Winterlauf">Winterlauf</a> 10. _
    Jan. 2016 20. Winterlauf
    [br]<input type=radio name=event value="Frühjahrslauf"> <a _
    href="results?type=rang&year=2016&event=Frühjahrslauf">Frühjahrslauf</a> _
    13. Jan. 2016 17. Frühjahrslauf
    blablabla
    I' working with VB.NET
    Code:
    	Dim WEBADRESSE As String = "http://www......"
            Dim wc As New WebClient
            Dim HTMLQuelltext As String = wc.DownloadString(WEBADRESSE)
    
            Dim rx As New Regex( ?????? )
          
            Dim rxMatches As MatchCollection = rx.Matches(HTMLQuelltext)
            For Each omatch As Match In rxMatches
                txtAusgabe.Text = txtAusgabe.Text & omatch.Groups("lauf").ToString & vbCrLf
            Next
    So, I hope somebody can help me with a redex searchterm.

    Thanks

    Jenny
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2016
    Posts
    21
    Rep Power
    0
    Code:
    (?<=value=")(.*)\"
    with /g/m options

IMN logo majestic logo threadwatch logo seochat tools logo