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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find css single selector pattern
Expression
(?<Element>((\*|\w+)?)) (?<Complement>((\.|\#|\-|\w|\:)*)) (?<FamilySeparator>([\s\>\+\~]|[\,\{]))
Description
to select single selector name of css including id, class name, descendants ,child, direct and indirect siblings.also it's captured into 3 catpuring names
Matches
body>p.test>p#test2
Non-Matches
body>p.test>p#test2,td
Author Rating: Not yet rated. waleed mohamed
Source refernces from web on the general scheme of css selector
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

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