Regular Expressions 101

Sponsors

Library entries

1
javascript

sumary-title

sumary-title
Submitted by Jay - 7 years ago
1
javascript

Date testing with 2 digit year

Date javascript
Submitted by petabyte - 7 years ago
1
javascript

domain with .co.uk

Any domain written www.domain.co.uk
Submitted by Byron Sargeant - 7 years ago
1
javascript

urls ending with

Urls ending with a specific domain
Submitted by anonymous - 7 years ago
1
javascript

id

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

img

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

check password

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

DDDD, dd MMMM

Friday, 23 October
Submitted by nehakadam - 7 years ago
1
javascript

RFC Persona Fisica

no description available
Submitted by Carlos Zaragoza - 7 years ago
1
javascript

RFC Persona Moral

no description available
Submitted by Carlos Zaragoza - 7 years ago
1
javascript

uri validate with a prefix

no description available
Submitted by Roger Wyss - 7 years ago
1
javascript

user-agent tester

no description available
Submitted by anonymous - 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