Regular Expressions 101

Sponsors

Library entries

1
javascript

Typo 3 Section

no description available
Submitted by Dan Schalow - 7 years ago
1
javascript

Testing Header String Regex

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

filter DB Date in JS

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

FreeCodeCamp RegEx1

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

[A-Z][0-9][a-z]

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

TireLF

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

apache log

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

test

teste
Submitted by test - 7 years ago
1
javascript

kl

jhkjnbkn
Submitted by kjnlkj - 7 years ago
1
javascript

Match URL

no description available
Submitted by http://piecedigital.github.io - 7 years ago
1
javascript

\**

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

c++

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

simple symbols

+a+====+b+
Submitted by Tamara F - 7 years ago
1
javascript

Repeating numbers

Repeating numbers (11111,22222,333333)
Submitted by Selva - 7 years ago

Date - Extract & Validate - Fully tested - Format YYYY-MM-DD (dynamic parts separator / can use a different separator)

Vote

2

Regular Expression
javascript

/
(?<=\D|^)(?<year>\d{4})(?<sep>[^\w\s])(?<month>1[0-2]|0[1-9])\k<sep>(?<day>0[1-9]|[12][0-9]|(?<=11\k<sep>|[^1][4-9]\k<sep>)30|(?<=1[02]\k<sep>|[^1][13578]\k<sep>)3[01])(?=\D|$)
/
gm

Description

Loading markdown...
Submitted by Elie Grenon (DrunkenPoney) <elie.grenon.1@gmail.com> - 2 years ago