Regular Expressions 101

Sponsors

Library entries

0
python

phoneNumRegex

Find phone numbers in a text string.
Submitted by anonymous - 5 years ago
0
pcre

ip_address

find an ip address in a string
Submitted by anonymous - 5 years ago
0
javascript

CSS nth child expressions

no description available
Submitted by anonymous - 5 years ago
0
pcre

flunetd

no description available
Submitted by anonymous - 5 years ago
0
pcre

PR364777

generic regex for all.
Submitted by anonymous - 5 years ago
0
pcre

regex_1

no description available
Submitted by anonymous - 5 years ago
0
pcre

SpecialsChars ending

no description available
Submitted by anonymous - 5 years ago
0
pcre

parsing ini files

no description available
Submitted by anonymous - 5 years ago
0
pcre

nondigits - digits

no description available
Submitted by anonymous - 5 years ago

Validate and extract different color models

Vote

0

Regular Expression
javascript

/
(?:rgb(?:a|)\s*|#)(?:\(|)\s*(25[0-5]|2[0-4][0-9]|1[0-9]?[0-9]?|[1-9][0-9]?|[0-9]|[A-Fa-f0-9]{2}|[A-Fa-f0-9]{2})(?:\,|)\s*(25[0-5]|2[0-4][0-9]|1[0-9]?[0-9]?|[1-9][0-9]?|[0-9]|[A-Fa-f0-9]{2}|[A-Fa-f0-9]{2})(?:\,|)(?:\,|)\s*(25[0-5]|2[0-4][0-9]|1[0-9]?[0-9]?|[1-9][0-9]?|[0-9]|[A-Fa-f0-9]{2}|[A-Fa-f0-9]{2}).+
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago