Regular Expressions 101

Sponsors

Library entries

0
pcre2

Check WP Admin URLs

Check WP admin pages that are indexed
Submitted by anonymous - 3 days ago
0
pcre2

SMB share parsing

A regex for parsing SMB shares
Submitted by Drav Sloan - 4 days ago
0
pcre2

DTM Validation

DTM Validation
Submitted by Mike Cheel - 4 days ago
0
java

Match CLI argument to

Matches argumetn to as: -t --to -t= ...
Submitted by rperez-torro - 4 days ago
0
pcre2

iamge url

all image url in in content
Submitted by farhad rohani - 5 days ago
0
python

SoundsExtract

extract sounds
Submitted by anonymous - 5 days ago
1
javascript

Minecraft Log Parser 1.0

Improvements needed
Submitted by Crystal - 5 days 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 - 4 months ago