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 12,060 community submitted regex patterns...
0
Wire Rebar Mesh Signature
PCRE2 (PHP >=7.3)
Parsing signature of wire rebar mesh by "ГОСТ 23279-2012"
Submitted by
Anatoliy Zhartun
-
2 years ago
0
Match all filenames in any URL including those with ANSI escaped characters (PHP version)
PCRE (PHP <7.3)
Match all filenames in any URL including those with ANSI escaped characters (PHP version).
Submitted by
The Fourth Bird
-
2 years ago
(Last modified 2 years ago)
0
Regex for youtube links
PCRE2 (PHP >=7.3)
Can obtain videoId using videoId () { return this.video_url.match(/(?:https?:\/\/)?(?:www\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\/?\?v=|\/embed\/|\/shorts\/|\/)(\w+)/)[1] } ...
Submitted by
anonymous
-
2 years ago
0
Capture Data between 2 slashes
PCRE2 (PHP >=7.3)
Capture Data between 2 slashes
Submitted by
Sarnath Jegadeesan
-
2 years ago
0
Split The Phone Numbers
PCRE2 (PHP >=7.3)
Split The Phone Numbers
Submitted by
anonymous
-
2 years ago
0
腾讯视频
PCRE (PHP <7.3)
从元素解析视频URL
Submitted by
anonymous
-
2 years ago
0
Ipv4 validation
PCRE2 (PHP >=7.3)
regex for ip validation
Submitted by
Amper
-
2 years ago
0
dateformat classique fr
PCRE (PHP <7.3)
12/10/1991
Submitted by
anonymous
-
2 years ago
0
嵌入条件
PCRE2 (PHP >=7.3)
嵌入条件
Submitted by
anonymous
-
2 years ago
0
Fixed Email Regex (emailregex.com)
Java 8
An email regex that allows for capitals after the final dot (ie. TEST@GMAIL.COM)
Submitted by
anonymous
-
2 years ago
0
Remove Hatena blog keyword
PCRE2 (PHP >=7.3)
Remove Hatena blog keyword
Submitted by
anonymous
-
2 years ago
0
simulate to event
PCRE2 (PHP >=7.3)
simulate to event
Submitted by
anonymous
-
2 years ago
0
simulate to event
PCRE2 (PHP >=7.3)
simulate to event
Submitted by
anonymous
-
2 years ago
0
simulate to event
PCRE2 (PHP >=7.3)
simulate to event
Submitted by
anonymous
-
2 years ago
0
时间
Java 8
时间
Submitted by
旧信
-
2 years ago
0
find abc in string
PCRE2 (PHP >=7.3)
first test
Submitted by
anonymous
-
2 years ago
0
regex-input-number
PCRE2 (PHP >=7.3)
regex-input-number
Submitted by
me
-
2 years ago
0
Partial Date
PCRE2 (PHP >=7.3)
Partial date
Submitted by
anonymous
-
2 years ago
0
/Host: (.*?)<br>/gu
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
2 years ago
0
Wrap word in json with quotes
PCRE (PHP <7.3)
Wrap word in json with quotes
Submitted by
anonymous
-
2 years ago
1
...
551
552
553
554
555
...
603
Find OTP
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(?<=
is
)
.
[
0
-
9
]
{4,8}
.
(?=
is
)?
)
|
(
^
[
0
-
9
]
{4,8}
.
(?=
is
)
)
/
gm
Open regex in editor
Description
Covers most of the cases of getting otp from email or mobile number
Submitted by
anonymous
-
2 years ago