Regular Expressions 101

Sponsors

Library entries

2
pcre

Valmaks_rename_big_strings

no description available
Submitted by witamin - 7 years ago
1
python

Match initials

Match initials of a person name
Submitted by anonymous - 7 years ago
0
pcre

Valmaks_name_replace_222

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

Get Content within brackets

Get Content within brackets
Submitted by anonymous - 7 years ago
0
pcre

http

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

Numbers separated by comma and whitespace

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

extract video id from youtube url

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

Grab all hyperlinks

no description available
Submitted by Josh Bourke - 7 years ago
1
pcre

youku video_id

parse youku video id
Submitted by egg- - 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