Regular Expressions 101

Sponsors

Library entries

2
pcre

update match

no description available
Submitted by ozarzu - 7 years ago
2
pcre

mask the credit card number

no description available
Submitted by vj - 7 years ago
2
pcre

Email Domain Regex

A pattern to match the email domain suffix
Submitted by doug - 7 years ago
2
pcre

5

no description available
Submitted by anonymous - 7 years ago
2
pcre

YouTube Iframe parser

no description available
Submitted by anonymous - 7 years ago
2
pcre

find numbers with 2 commas

no description available
Submitted by anonymous - 7 years ago
2
pcre

Any variable between @

no description available
Submitted by anonymous - 7 years ago
2
pcre

IP with Subnet

IP address with Subnet
Submitted by Matt Masse - 7 years ago
2
pcre

1

no description available
Submitted by в - 7 years ago
2
pcre

test

test
Submitted by anonymous - 7 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