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 Pattern Title
Expression
(("|')[a-z0-9\/\.\?\=\&]*(\.htm|\.asp|\.php|\.jsp)[a-z0-9\/\.\?\=\&]*("|'))|(href=*?[a-z0-9\/\.\?\=\&"']*)
Description
Will locate an URL in a webpage. It'll search in 2 ways - first it will try to locate a href=, and then go to the end of the link. If there is nu href=, it will search for the end of the file instead (.asp, .htm and so on), and then take the data between the "xxxxxx" or 'xxxxxx'
Matches
href="produktsida.asp?kategori2=218" | href="NuclearTesting.htm"
Non-Matches
U Suck
Author Rating: Not yet rated. Henric Rosvall
   Displaying page 1 of 1 pages; Items 1 to 1

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