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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,040 community submitted regex patterns...
15
us postal/zip
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
2
SRT (SubRip) Parser
PCRE (PHP <7.3)
Matches id, timecode and text for multiple subtitles. Make sure the source ends with a blank line to capture the last subtitle.
Submitted by
Fergo
-
11 years ago
1
erferf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
rfrf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
5
Accept url without www
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
Matching an Email
ECMAScript (JavaScript)
no description available
Submitted by
appsunited
-
11 years ago
-2
Russian mobile number normilizer (dumb)
PCRE (PHP <7.3)
no description available
Submitted by
fullpipe
-
11 years ago
1
Match US Currency Amount
PCRE (PHP <7.3)
Group 1 has dollar amount with or without commas, Group 4 has optional cents.
Submitted by
anonymous
-
11 years ago
2
Get dynamic parameters from an URL
PCRE (PHP <7.3)
Gets the parameters (how many you want) from a url and organize into groups
Submitted by
Caio Oliveira
-
11 years ago
7
Split quotes and single words
ECMAScript (JavaScript)
Find " and ' quoted strings and "orphaned"/single words in a string
Submitted by
LoveIsGrief
-
11 years ago
1
Replace second (or further) html statement in a whole code
ECMAScript (JavaScript)
This regex replace the second tag content which has the prefix ":". If you want to replace the third, just increase the statement {1} to {2}, and so go on.
Submitted by
Caio Oliveira
-
11 years ago
1
regular expression to replace except text from html tags
ECMAScript (JavaScript)
expression to look for words in innerText & not in html tags as id or class or style name
Submitted by
umarfarukh
-
11 years ago
1
tags, tags in quotes
PCRE (PHP <7.3)
#day tralalala #"day" tralalala #'beautiful_day'
Submitted by
voodoo free.dev.ua@gmail.
-
11 years ago
483
regex101.com permalink id grabber
PCRE (PHP <7.3)
Grabs the ID for the regex101.com permalink code. If a revision number is provided, grab that as well.
Submitted by
chris mccoy
-
11 years ago
(Last modified 8 months ago)
0
Grab text in double square brackets (excluding triple)
PCRE (PHP <7.3)
no description available
Submitted by
Petah
-
11 years ago
1
Check SQL Insert Into
PCRE (PHP <7.3)
no description available
Submitted by
MelRight
-
11 years ago
6
Password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
(Last modified a year ago)
8
Date time Advanced
PCRE (PHP <7.3)
no description available
Submitted by
Mr.Neutro
-
11 years ago
-2
Date time
PCRE (PHP <7.3)
no description available
Submitted by
Mr.Neutro
-
11 years ago
5
All href in a tag
PCRE (PHP <7.3)
Find all href in a tag
Submitted by
Miron Yanovskiy
-
11 years ago
1
...
896
897
898
899
900
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
^
(
[
01
]
[
0
-
9
]
|
2
[
0
-
3
]
)
[
:
]
[
0
-
5
]
[
0
-
9
]
(
[
:
]
[
0
-
5
]
[
0
-
9
]
)?
$
)
|
(
^
(
(
[
0
-
9
]
)
|
(
1
[
0
-
2
]
)
)
:
(
[
0
-
5
]
[
0
-
9
]
)
(
:
(
[
0
-
5
]
[
0
-
9
]
)
)?
\s
?
[
ap
]
m
$
)
/
gm
Open regex in editor
Description
Matches a time in either 25Hr or 12Hr format. Seconds are optional for either format.
Submitted by
anonymous
-
8 years ago