Regular Expressions 101

Sponsors

Library entries

1
pcre

tgs data delivery1

strips data delivery link 1 from TGS download link.
Submitted by TRL - 7 years ago
1
pcre

TGS DATA Delivery

Find the default link excluding zip file ID
Submitted by TRL - 7 years ago
1
pcre

Aux Copy Detection

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

Aux Copy Create

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

Shortcode parser

Parse shortcodes, its attributes values and html
Submitted by anonymous - 7 years ago
1
pcre

works

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

any tag

regex used to search for any tag (both html and xml)
Submitted by dasmi - 7 years ago
1
pcre

testing

testing
Submitted by Zeddy - 7 years ago
0
pcre

qwqwe

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

test

no description available
Submitted by anonymous - 7 years ago

Date-Validation with mm/dd/yyyy or mmddyyyy or mm-dd-yyyy or m/d/yyyy

Vote

1

Regular Expression
javascript

/
^(?:(?:(?:0?[13578]|1[02])(\/|-|\.)31)\1|(?:(?:0?[1,3-9]|1[0-2])(\/?|-|\.)(?:29|30)\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:(?:0?2)(\/?|-|\.)(?:29)\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:0?[1-9])|(?:1[0-2]))(\/?|-|\.)(?:0?[1-9]|1\d|2[0-8])\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$
/
gm

Description

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