Regular Expressions 101

Sponsors

Library entries

1
javascript

Match HMTL/WXML tag and class

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

UA phone number

check ua phone number
Submitted by anonymous - 4 days ago
0
javascript

array path

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

replace text in tag

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

only .ts .tsx .js .jsx

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

Get YouTube ID in link

regex for get video id in link
Submitted by anonymous - 7 days ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 11 days ago

<input type="time" /> pattern

Vote

1

Regular Expression
javascript

/
^(0\d|1\d|2[0-4]):(0\d|[1-5]\d)(?::(0\d|[1-5]\d))?(?:.(00\d|0[1-9]\d|[1-9]\d{2}))?$
/
gm

Description

Loading markdown...
Submitted by Ann MB - 4 months ago