Regular Expressions 101

Sponsors

Library entries

0
pcre2

INI values

not done yet
Submitted by anonymous - 16 days ago
0
pcre2

JOOMLA_KEY

Identifies Joomla! Language Keys
Submitted by anonymous - 17 days ago
0
pcre2

European VAT Numbers

EU Vat Number formats
Submitted by Jonathan Vicente - 18 days ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
Submitted by anonymous - 19 days ago
0
pcre2

imperva_regex

A regex exercise for Imperva
Submitted by Lesley Miller - 20 days ago
0
pcre2

Before a word

Gets strings before or after a word
Submitted by SuperMAC - 20 days 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