Regular Expressions 101

Sponsors

Library entries

1
javascript

XML URL

validates an xml URL. Allows ips and domain names
Submitted by allofus - 6 years ago
2
javascript

汉字匹配

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

Match 24H time

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

OTP Card payment

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

Capture Query Strings

A solution for capture query params.
Submitted by Rafael Laurindo - 6 years ago
1
python

All but my string

Return all but the given string
Submitted by elypma - 6 years ago
1
python

Lua Anonymous Function Matching

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

Experimental

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

ReporteController

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

(554) 555 55 55

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

Luca

Esempi di regex
Submitted by prof.manini - 6 years ago
0
python

ip

ip-adreese
Submitted by anonymous - 6 years ago
1
python

Original regex

no description available
Submitted by Malhar - 6 years ago
3
javascript

email

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

Email Finder

Finds all emails including .co.uk like ones
Submitted by Oliver - 6 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 - 6 years ago