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 link
Expression
<link href="../Common/Styles/iLienStyle.css" type="text/css" rel="stylesheet" />
Description
hi i want to evaluate the following expression with regular expression. <link href="Lien.css" id="lbl" /> cond1: compulsary start with <link cond2: <link (one space) cond3: next string should be "href"; if u give any other it will return error. cond4: "lien.css" in this .css should be same and before string may vary. eg: dotnet.css (right) dotnet.conn (wrong) next: same thing for id also. one more important cond: <link href="lien.css" id="lbl" /> (should be correct) <link id="lbl" href="lien.css" /> (should be correct) (if u change the places of href and id also it will give correct)
Matches
<link href="../Common/Styles/iLienStyle.css" rel="stylesheet" type="text/css" />
Non-Matches
<link hrf="../Common/Styles/iLienStyle.caaa" rel="stylesheet" typef="textf/css" />
Author Rating: Not yet rated. chandu
   Displaying page 1 of 1 pages; Items 1 to 1

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