Regular Expressions 101

Library entries

0
pcre2

YouTube link parser

Validate an URI to YouTube video.
Submitted by anonymous - 2 days ago
0
pcre2

UFUNCTION parser

Breaks any UFUNCTION into parts
Submitted by anonymous - 7 days ago
0
pcre2

webforms detection

Rule to identify web form collections
Submitted by Pandurang Patil - 9 days ago
0
pcre2

Sonepar - BW5 Service Mapping

Common Mapping
Submitted by anonymous - 10 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 - 4 months ago