Regular Expressions 101

Sponsors

Library entries

0
javascript

Classification Matcher

Classification Matcher
Submitted by anonymous - 3 days ago
0
javascript

RTTU Pharsing

RegEx for RTTU Pharsing
Submitted by CVIKL Dubravko - 4 days ago
0
python

Bespoke NGINX Log Parse

Splits NGINX logs into named groups
Submitted by Simon - 4 days ago
0
javascript

Force email address

Force email address
Submitted by anonymous - 6 days ago
0
python

Special GPS input

Used for TrigDroid
Submitted by anonymous - 10 days ago
0
javascript

Match HTML tag with specific attributes

1
Submitted by anonymous - 18 days ago

CSS RGB validation

Vote

0

Regular Expression
javascript

/
^rgba?\((?:(?:(?:[0-9]{1,3} ){2}[0-9]{1,3}|(?:[0-9]{1,3}% ){2}[0-9]{1,3}%)(?: \/ (?:[0-9]{1,3}%|1|0|0?\.[0-9]+))?|(?:(?:[0-9]{1,3}, ){2}[0-9]{1,3}|(?:[0-9]{1,3}%, ){2}[0-9]{1,3}%)(?:, (?:[0-9]{1,3}%|1|0|0?\.[0-9]+))?)\)$
/
gm

Description

Loading markdown...
Submitted by Martin - 2 months ago