RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Hyperlink
Expression
<a\s{1}href="(?<url>.*?)"(\s?target="(?<target>_(blank|new|parent|self|top))")?(\s?class="(?<class>.*?)")?(\s?style="(?<style>.*?)")?>(?<title>.*?)</a>
Description
Get the URL, target, class, style and description from a hyperlink
Matches
<a href="www.test.com" target="_blank" class="testclass" style="padding:0;">This is a test link</a>
Non-Matches
www.test.com
Author Rating: Not yet rated. Matt Jones
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials