Regular Expressions 101

Sponsors

Library entries

0
javascript

token

replace token like [foo:bar:ba zz]
Submitted by anonymous - 7 years ago
1
javascript

search text matching any word

search text matching any word
Submitted by Hiren Shah - 7 years ago
-2
javascript

Date format regex for ddMMMyyyy

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

author bibtext

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

Vimeo Video ID

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

YouTube Video PArser

no description available
Submitted by Shafique - 7 years ago
0
javascript

two matches with pipe

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

salary

Chinese salary input
Submitted by taijia - 7 years ago
3
javascript

Italian ZIP code (CAP)

Codice avviamento postale Italiano (ZIP)
Submitted by Italo - 7 years ago
3
javascript

Italian VAT (IVA)

Italian VAT
Submitted by Italo - 7 years ago
1
javascript

Italian Fiscal Code [Codice fiscale]

Codice fiscale italiano
Submitted by Italo - 7 years ago
0
javascript

IBAN

Italian IBAN
Submitted by Italo - 7 years ago

cron expression

Vote

-2

Regular Expression
javascript

/
^(((\*|(\d\d?))(\/\d\d?)?)|(\d\d?\-\d\d?))(,(((\*|(\d\d?))(\/\d\d?)?)|(\d\d?\-\d\d?)))*\s(((\*|(\d\d?))(\/\d\d?)?)|(\d\d?\-\d\d?))(,(((\*|(\d\d?))(\/\d\d?)?)|(\d\d?\-\d\d?)))*\s(((\*|(\d\d?))(\/\d\d?)?)|(\d\d?\-\d\d?))(,(((\*|(\d\d?))(\/\d\d?)?)|(\d\d?\-\d\d?)))*\s(\?|(((\*|(\d\d?L?))(\/\d\d?)?)|(\d\d?L?\-\d\d?L?)|L|(\d\d?W))(,(((\*|(\d\d?L?))(\/\d\d?)?)|(\d\d?L?\-\d\d?L?)|L|(\d\d?W)))*)\s(((\*|(\d|10|11|12|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))(\/\d\d?)?)|((\d|10|11|12|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\-(\d|10|11|12|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)))(,(((\*|(\d|10|11|12|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))(\/\d\d?)?)|((\d|10|11|12|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\-(\d|10|11|12|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))))*\s(((\*|([0-7]|MON|TUE|WED|THU|FRI|SAT|SUN)L?)(\/\d\d?)?)|(([0-7]|MON|TUE|WED|THU|FRI|SAT|SUN)L?\-([0-7]|MON|TUE|WED|THU|FRI|SAT|SUN)L?)|([0-7]|MON|TUE|WED|THU|FRI|SAT|SUN)L?#([1-5]))(,(((\*|([0-7]|MON|TUE|WED|THU|FRI|SAT|SUN)L?)(\/\d\d?)?)|(([0-7]|MON|TUE|WED|THU|FRI|SAT|SUN)L?\-([0-7]|MON|TUE|WED|THU|FRI|SAT|SUN)L?)|([0-7]|MON|TUE|WED|THU|FRI|SAT|SUN)L?#([1-5])))*$
/
gmi

Description

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