Regular Expressions 101

Sponsors

Library entries

0
pcre2

Remove Json sub-element

Remove sub-element from a json
Submitted by hafizotz - 4 hours ago
0
pcre2

c++ function signature

c++ function signature
Submitted by anonymous - 2 days ago
0
pcre2

Twitter Question

Gramática: S->E S->aA S->bB A->E A->bB...
Submitted by anonymous - 3 days ago
0
pcre

User-Agent

Parser
Submitted by sn3kdev - 3 days ago
0
pcre2

Match between two strings

(?<=This is)(.*)(?=sentence)
Submitted by anonymous - 3 days ago
0
pcre2

wiki

wiki parser
Submitted by anonymous - 3 days ago
0
pcre2

pythonize beautiful query

pythonize beautiful query
Submitted by anonymous - 4 days ago
0
pcre

Parcing2

aa
Submitted by anonymous - 5 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 5 days ago

Cron schedule

Vote

16

Regular Expression
pcre

~
^\s*\#?\s*(?:(?:(?'mins'[0-5]?\d)(?:[-,](?&mins))*)|\*)(?:/\d{1,2})?\s+(?:(?:(?'hours'(?:2[0-3]|[01]?\d))(?:[-,](?&hours))*)|\*)(?:/\d{1,2})?\s+(?:(?:(?'dmon'(?:3[01]|[12]?\d))(?:[-,](?&dmon))*)|\*)(?:/\d{1,2})?\s+(?:(?:(?'mon'(?:1[0-2]|[1-9]))(?:[-,](?&mon))*)|\*)(?:/\d{1,2})?\s+(?:(?:(?'dow'(?:[0-6]|\b(?:mon|tue|wed|thu|fri|sat|sun)\b))(?:[-,](?&dow))*)|\*)(?:/\d{1,2})?\s+.+$
~

Description

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