Regular Expressions 101

Sponsors

Library entries

2
pcre

inline img

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

viduregex

cac vi du ve bat cac chuoi o regex
Submitted by thieutham - 7 years ago
1
pcre

viduregex

cac vi du ve bat cac chuoi o regex
Submitted by thieutham - 7 years ago
2
pcre

remove n lines after matching pattern

stackoverflow question
Submitted by irom77 - 7 years ago
3
pcre

currency

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

US Zip Code Validation

5 digits and no 0 5/4 times
Submitted by Ashish - 7 years ago
0
javascript

Date Validation

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

Date Validation

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

URL detector

no description available
Submitted by pawel - 7 years ago

Duration with mandatory 'm'

Vote

1

Regular Expression
javascript

/
^\/?[+-]?P?([0-9]+[Yy])?([0-9]+M)?([0-9]+[Dd])?[Tt]?([0-9]+[Hh])?([0-9]+m|(?:[0-9]+m?(?![0-9]+[Ss])))?([0-9]+[Ss])?$
/

Description

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