Regular Expressions 101

Library entries

1
javascript

find widget.method name

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

extractor_RD_RT_Cisco

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

Mail TIGF

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

Meetup Event URL

Allowed URL patterns for Meetup.com events
Submitted by anonymous - 5 years ago
1
javascript

GIT URL

no description available
Submitted by UNKNW - 5 years ago
1
javascript

UK Telephone Numbers

no description available
Submitted by Riaan Joubert - 5 years ago
1
javascript

Find CSS hexadecimal color values

no description available
Submitted by anonymous - 5 years ago

Valid RGB color value

Vote

1

Regular Expression
javascript

/
^rgba?\((?:\s+)?(?<r>\d+(?<unit>%?))(?:\s+)?(?<separator>[\s|,])(?:\s+)?(?<g>\d+\k<unit>)(?:\s+)?\k<separator>(?:\s+)?(?<b>\d+\k<unit>)(?:\s+)?(?:(?<=(?:,.+))(?:,(?:\s+)?(?<a>(?:\d+)?(?:\.?\d+)))?(?:\s+)?)?\)$
/
gm

Description

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