Regular Expressions 101

Sponsors

Library entries

-1
javascript

Any combo of space and dash

no description available
Submitted by anonymous - 2 years ago
0
javascript

Url

Url minus Protocol
Submitted by Website - 2 years ago
0
javascript

matching for expression

no description available
Submitted by anonymous - 2 years ago
0
javascript

Capital Social-

no description available
Submitted by anonymous - 2 years ago
0
javascript

Markdown code block

^({3}.\n\r?^{3})
Submitted by anonymous - 2 years ago
0
javascript

indent

(.+?)((\n\s.*)+)
Submitted by anonymous - 2 years ago
0
javascript

Remove empty line ➜ ^\s*[\r\n]

no description available
Submitted by anonymous - 2 years ago
0
javascript

zyBooks Compare Unit test

no description available
Submitted by anonymous - 2 years ago
0
javascript

v1

no description available
Submitted by anonymous - 2 years ago
0
javascript

我的test

no description available
Submitted by anonymous - 2 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