Regular Expressions 101

Sponsors

Library entries

0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - a day ago
0
javascript

Mez regex #3

This is the #3 regex used in Mez
Submitted by anonymous - 3 days ago
0
javascript

Mez regex #1

This is the #1 regex used in Mez
Submitted by anonymous - 3 days ago
0
pcre

find between

find between
Submitted by anonymous - 4 days ago
1
javascript

Match HMTL/WXML tag and class

Match HMTL/WXML tag and class
Submitted by ice breaker - 6 days ago
0
javascript

UA phone number

check ua phone number
Submitted by anonymous - 8 days ago
1
javascript

array path

Extract the array path from a nested path
Submitted by anonymous - 8 days ago
0
javascript

replace text in tag

find and replace text in tag
Submitted by anonymous - 10 days ago
0
javascript

only .ts .tsx .js .jsx

get files extension
Submitted by HZ - 10 days ago
0
javascript

Get YouTube ID in link

regex for get video id in link
Submitted by anonymous - 11 days ago

Best ISO-8601 Date and Time parser

Vote

0

Regular Expression
javascript

/
(([0-9]{4})-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|(0[469]|11)-((0[1-9]|[12][0-9]|30)|(02)-(0[1-9]|[12][0-9])))(([\s|T])(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9])(:(0[0-9]|[1-5][0-9]))?(\.([0-9]{3}))?(Z)?)?
/
gm

Description

Loading markdown...
Submitted by Jeff Galbraith - 4 months ago