Regular Expressions 101

Sponsors

Library entries

1
pcre

Check phone number

no description available
Submitted by anonymous - 7 years ago
0
javascript

zepit multiline

no description available
Submitted by antoine - 7 years ago
0
pcre

Jade - parse includes

no description available
Submitted by anonymous - 7 years ago
1
pcre

Country Code

no description available
Submitted by SB - 7 years ago
0
pcre

Domain Name Validation

no description available
Submitted by Vinay - 7 years ago
1
pcre

Instagram Access Token

no description available
Submitted by anonymous - 7 years ago
1
pcre

FUTURES

no description available
Submitted by anonymous - 7 years ago
1
javascript

hex4

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

Div Matching Test

Div Matching Test
Submitted by anonymous - 7 years ago
1
javascript

Shot Analysis Pattern

no description available
Submitted by mail@kevinschiffer.de - 7 years ago
1
pcre

hora

no description available
Submitted by anonymous - 7 years ago
1
pcre

don't match mysite or google

check referrer when redirecting
Submitted by Sandra - 7 years ago

Selectors.io Attribute Selector Implementation

Vote

1

Regular Expression
javascript

/
^\[\s*(((-?([_a-z]|(?![\u0000-\u0239]).*|((\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))([_a-z0-9-]|(?![\u0000-\u0239]).*|((\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))*)|\\*)?|)?(-?([_a-z]|(?![\u0000-\u0239]).*|((\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))([_a-z0-9-]|(?![\u0000-\u0239]).*|((\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))*)\s*((\^=|\$=|\*=|=|~=|\|=)\s*((-?([_a-z]|(?![\u0000-\u0239]).*|((\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))([_a-z0-9-]|(?![\u0000-\u0239]).*|((\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))*)|((\"([^\n\r\f\"]|\\n|\r\n|\r|\f|(?![\u0000-\u0239]).*|((\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))*\")|(\'([^\n\r\f\']|\\n|\r\n|\r|\f|(?![\u0000-\u0239]).*|((\\[0-9a-f]{1,6}(\r\n|[ \t\r\n\f])?)|\\[^\r\n\f0-9a-f]))*\')))\s*)?\]$
/
gm

Description

Loading markdown...
Submitted by James Donnelly, Selectors.io - 7 years ago