Regular Expressions 101

Sponsors

Library entries

0
pcre2

Matching a decimal numbers

Matching a decimal numbers
Submitted by anonymous - 5 months ago
0
pcre2

find spaces around - & + signs

find spaces around - & + signs
Submitted by anonymous - 5 months ago
0
pcre2

Search Engine Marketing

Yurrr
Submitted by anonymous - 5 months ago
0
pcre2

C######

get C with numbers string
Submitted by Didier - 5 months ago
0
pcre2

All

all
Submitted by anonymous - 5 months ago
0
pcre2

url-selection

url-selection
Submitted by anonymous - 4 months ago
0
pcre2

german locale regex

Matches locales with german language
Submitted by anonymous - 4 months ago
0
pcre2

Mick Find Image

Finds stuff like 01 Image.. or 01 Image.
Submitted by anonymous - 4 months ago

Twelve-hour (with am and pm at the end) and twenty-four-hour time formats (hh:mm am pm)

Vote

0

Regular Expression
pcre2

/
(?:[0-9]|1[0-2]):[0-5][0-9]\s(?:am|pm)|(?:[0-1][0-9]|2[0-3]):[0-5][0-9]
/
gm

Description

Loading markdown...
Submitted by anonymous - 4 months ago