Regular Expressions 101

Sponsors

Library entries

2
javascript

US zip Code

US zip Code
Submitted by Aloke - 7 years ago
2
javascript

Date Testing

Javascript date regex
Submitted by anonymous - 7 years ago
2
pcre

5

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

Markup link

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
javascript

Date between 1950 and 2050

Date in format MM-dd-yyyy
Submitted by Daniel Quijada - 7 years ago
2
pcre

1

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

test

test
Submitted by anonymous - 7 years ago

Capture only top-level (root) domain in URL

Vote

3

Regular Expression
pcre

/
^(?:(?:http[s]?|ftp):\/)?\/?(?:[^:\/\s]+?\.)*([^:\/\s]+\.[^:\/\s]+)
/

Description

Loading markdown...
Submitted by guyfawkes - 7 years ago