Regular Expressions 101

Sponsors

Library entries

1
javascript

dd-MM-yyyy validation

no description available
Submitted by anonymous - 6 years ago
0
pcre

MyTelephoneNumberRegex

no description available
Submitted by anonymous - 6 years ago
1
python

parsing objdump output

parsing objdump output
Submitted by anonymous - 6 years ago
0
pcre

Decimal Degrees - Lat Long format

no description available
Submitted by Anthony Giles - 6 years ago
1
python

#define

no description available
Submitted by anonymous - 6 years ago
0
pcre

Remove Header Rows

Removes the first n rows of a file
Submitted by Raphael Bögel - 6 years ago

A complete recognition of pattern for css selectors

Vote

0

Regular Expression
javascript

/
( *(((([a-zA-Z]+)|([.#](\w|\w+-+\w*)+)|(:(\w+(-\w+)+)(\([a-zA-Z0-9]+\))?)|(:{2}(\w+(-\w+)+))|(\*))(\[ *\w+ *(([\^$|~*]?= *)?((\w|\w+-+\w*)+|((\\') *.+ *(\\'))|((\\") *.+ *(\\"))|((') *.+ *('))|((") *.+ *("))))?( *\]))*)|(\[ *\w+ *(([\^$|~*]?= *)?((\w|\w+-+\w*)+|((\\') *.+ *(\\'))|((\\") *.+ *(\\"))|((') *.+ *('))|((") *.+ *("))))?( *\]))+)((([a-zA-Z]+)|([.#](\w|\w+-+\w*)+)|(:(\w+(-\w+)+)(\([a-zA-Z0-9]+\))?)|(:{2}(\w+(-\w+)+))|(\*))*(( +|( *[,~>+] *))(((([a-zA-Z]+)|([.#](\w|\w+-+\w*)+)|(:(\w+(-\w+)+)(\([a-zA-Z0-9]+\))?)|(:{2}(\w+(-\w+)+))|(\*))(\[ *\w+ *(([\^$|~*]?= *)?((\w|\w+-+\w*)+|((\\') *.+ *(\\'))|((\\") *.+ *(\\"))|(' *.+ *')|((") *.+ *("))))?( *\]))*)|(\[ *\w+ *(([\^$|~*]?= *)?((\w|\w+-+\w*)+|((\\') *.+ *(\\'))|((\\") *.+ *(\\"))|((') *.+ *('))|((") *.+ *("))))?( *\]))+))*)* *(?!.))
/
gy

Description

Loading markdown...
Submitted by Rafael Laurindo - 6 years ago