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) |