Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 4,540 community submitted regex patterns...
0
Checking time for AM/PM format
PCRE2 (PHP >=7.3)
Support both capital and small letters, could be 01:00AM of 1:00AM
Submitted by
VS
-
a year ago
0
redirect old slugs to new
PCRE2 (PHP >=7.3)
redirect old slugs to new
Submitted by
anonymous
-
a year ago
0
Hightlight pipe regex
PCRE2 (PHP >=7.3)
A regex to find a searchQuery inside html But not: inside tag inside tag indide href of tag
Submitted by
Robair
-
a year ago
0
Script Tag Removal.
PCRE2 (PHP >=7.3)
Removes "" tags from plain text notes.
Submitted by
anonymous
-
a year ago
0
Javascript HTTP URL Validation
PCRE2 (PHP >=7.3)
Use to validate basic website URLs with or without http://. I took bits and pieces of other regexes I found and compiled into one that worked well for my purposes.
Submitted by
Daniel Ecker
-
a year ago
0
Function call capture group
Python
Function call capture group
Submitted by
anonymous
-
a year ago
0
unit selector regex
PCRE2 (PHP >=7.3)
This regex can be used to select SI units of gallon, litres, kilograms, kilometres, pounds.
Submitted by
anonymous
-
a year ago
0
REGEX yt-dlp ID
PCRE2 (PHP >=7.3)
Get ID from plain text fromm yt-dlp
Submitted by
anonymous
-
a year ago
0
XTrim
PCRE2 (PHP >=7.3)
Remove spaces at the beginning and end of a sentence. It also replaces N consecutive spaces with a single one.
Submitted by
abrittaf
-
a year ago
0
Regex Tutorials CodeAmooz.net
PCRE2 (PHP >=7.3)
Regex Tutorials CodeAmooz.net
Submitted by
anonymous
-
a year ago
0
letter-space-number.js
PCRE2 (PHP >=7.3)
Javascript piscine
Submitted by
erik044
-
a year ago
0
vishnu
Python
log regex
Submitted by
vishnu kendre
-
a year ago
0
Filter Hashtags and Links in a string
PCRE2 (PHP >=7.3)
Filter Hashtags and Links in a string
Submitted by
Akali
-
a year ago
0
Filter Hashtags in a string
PCRE2 (PHP >=7.3)
Filter Hashtags in a string
Submitted by
Akali
-
a year ago
0
Filter Links in a string
PCRE2 (PHP >=7.3)
Filter Links in a string
Submitted by
Akali
-
a year ago
0
Photos18 Url Matcher
Python
A regex to match photos18 urls
Submitted by
anonymous
-
a year ago
0
Filter Vietnamese Hashtags in a string
PCRE2 (PHP >=7.3)
Filter Vietnamese Hashtags in a string
Submitted by
Akali
-
a year ago
(Last modified a year ago)
0
Match IPv4 with CIDR mask
Python
Parses data to match IPv4 addresses along with CIDR mask.
Submitted by
anonymous
-
a year ago
0
Cisco APIC extractions
PCRE2 (PHP >=7.3)
Cisco APIC extractions suitable for using as a field extraction in Splunk
Submitted by
j.P. Pasnak,CD
-
a year ago
0
在特定位置替换字符
Python
1
Submitted by
anonymous
-
a year ago
1
...
208
209
210
211
212
...
227
Checking time for AM/PM format
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^\b
(
0
?
\d
|
1
[
0
-
2
]
)
:
[
0
-
5
]
\d
(
\s
)?
(
[
AaPp
]
[
Mm
]
$
)
/
mg
Open regex in editor
Description
Support both capital and small letters, could be 01:00AM of 1:00AM
Submitted by
VS
-
a year ago