Posted by Anonymous on Fri 10 Oct 15:32
report abuse | download | new post
- <%
- Set regEx = New RegExp
- regEx.Global = True
- regEx.IgnoreCase = True
- sourcestring = "<span style='font-size: 1.25em;'> and </span>"
- regEx.Pattern = "<span style='font-size: 1.25em;'>([\S\s]*?)</span>"
- Set Matches = regEx.Execute(sourcestring)
- For z = 0 to Matches.Count-1
- results = results & "Matches(" & z & ") = " & chr(34) & Server.HTMLEncode(Matches(z)) & chr(34) & chr(13)
- For zz = 0 to Matches(z).SubMatches.Count-1
- results = results & "Matches(" & z & ").SubMatches(" & zz & ") = " & chr(34) & Server.HTMLEncode(Matches(z).SubMatches(zz)) & chr(34) & chr(13)
- next
- results=Left(results,Len(results)-1) & chr(13)
- next
- Response.Write "<pre>" & results
- %>
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.