Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex check for anchor tag with specific text

Regex regexObj = new Regex("<a[^>]*? href="(?<url>[^"]+)"[^>]*?>(?<text>.*?)</a>", RegexOptions.Singleline);
Source by social.msdn.microsoft.com #
 
PREVIOUS NEXT
Tagged: #regex #check #anchor #tag #specific #text
ADD COMMENT
Topic
Name
3+8 =