Regular Expressions 101

Sponsors

Library entries

0
pcre

php comment

no description available
Submitted by anonymous - 8 years ago
1
pcre

Parse drupal version info from filename

no description available
Submitted by Jason Smith - 8 years ago
-4
javascript

email

no description available
Submitted by public - 8 years ago
-2
pcre

Match v4 IP address

no description available
Submitted by Budiony Damyanov - 8 years ago
-3
pcre

DateTime YYYY-MM-DD hh:mm:ss

no description available
Submitted by Madhan - 8 years ago
4
pcre

Hungarian ANDOK system id

no description available
Submitted by Tana - 8 years ago
6
pcre

ID003 device info

no description available
Submitted by sasjaq - 8 years ago
-2
pcre

[A-Z]+[a-z]{1,2}[0-9]*

no description available
Submitted by anonymous - 8 years ago
-3
python

Just IP

ip address
Submitted by whoyas2 - 8 years ago
1
javascript

Find UnCommented Console. Code

no description available
Submitted by Jay Johnson - 8 years ago
-2
pcre

A masz!

no description available
Submitted by Ja - 8 years ago
-2
pcre

failed attempt

no description available
Submitted by DynV - 8 years 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