Regular Expressions 101

Sponsors

Library entries

0
pcre2

FileFilterAED

File filter for AED search
Submitted by anonymous - a day ago
0
pcre2

TTB fund acc 1

my work space
Submitted by anonymous - 2 days ago
1
pcre2

Custom Commit ReGex

Custom Commit ReGex Test
Submitted by Kewal Rathod - 2 days ago
-1
pcre2

213

12312
Submitted by anonymous - 2 days ago
-1
pcre2

1

1
Submitted by anonymous - 2 days ago
0
pcre2

subroutine

repeated matching date
Submitted by anonymous - 3 days ago
0
pcre2

Drealth

just a normal text to the drealth emojis
Submitted by NobreHD - 4 days ago
0
pcre2

find between 2 strings

find between 2 strings
Submitted by anonymous - 6 days ago
0
pcre2

Jerem

To match specific name based on season code
Submitted by anonymous - 7 days ago
0
pcre2

.csv data conversion for a test case

from "['a']" to "[""a""]"
Submitted by anonymous - 9 days ago
0
pcre2

track OM cash out

cash out tracker
Submitted by anonymous - 10 days ago

HSL(A) Color Matching

Vote

3

Regular Expression
pcre

/
(?(DEFINE) (?<decimal>(?(int)([.][0-9]+)?|[.][0-9]+)) (?<percentage> (100| (?<int>([0-9]|[1-9][0-9]))? # Have integer be optional (0-100 only) (?P>decimal) # Have decimal required when an integer is not included ) (?<symbol>%) ) (?<hue> (?<int>36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])? # Have integer be optional (?P>decimal) # Have decimal required when an integer is not included (?<symbol>\s*deg\s*)? ) (?<alpha> (?(alpha),\s*( 1[.]0| (?<int>0)? # Have integer be optional (?P>decimal) # Have decimal required when integer is not incldue )\s*) ) (?<hsl>\s*(?P>hue)\s*,\s*(?P>percentage)\s*,\s*(?P>percentage)\s*) ) hsl(?<alpha>a)?\((?P>hsl)(?P>alpha)\)
/
gxJi

Description

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