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 11,600 community submitted regex patterns...
0
Ipv4 with optional port
.NET 7.0 (C#)
ipv4 with optional port
Submitted by
anonymous
-
2 years ago
0
No leading or trailing spaces
.NET 7.0 (C#)
No leading or trailing spaces
Submitted by
anonymous
-
2 years ago
0
FiveM cfx.re/join Link Regex
Python
Matches any valid cfx.re/join/ links.
Submitted by
Johnny_JTH
-
2 years ago
0
Python program to match if two words from a list of words starting with letter 'P'.
Python
Python program to match if two words from a list of words starting with letter 'P'.
Submitted by
anonymous
-
2 years ago
0
腾讯视频
PCRE (PHP <7.3)
从元素解析视频URL
Submitted by
anonymous
-
2 years ago
0
dateformat classique fr
PCRE (PHP <7.3)
12/10/1991
Submitted by
anonymous
-
2 years ago
0
Remove ANSI escape codes
Python
Remove ANSI escape codes
Submitted by
anonymous
-
2 years ago
0
iCalendar property parsing
Python
parses property strings as used by iCalendar. Kinda.
Submitted by
anonymous
-
2 years ago
(Last modified 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
0
模式测试
PCRE (PHP <7.3)
测试贪婪/非贪婪模式
Submitted by
anonymous
-
2 years ago
0
Nepali phone number regex
.NET 7.0 (C#)
(\+977)?9\d{8}
Submitted by
anonymous
-
2 years ago
0
分组引用
Python
分组引用
Submitted by
anonymous
-
2 years ago
0
Replace all newlines (except double newlines) with spaces
PCRE (PHP <7.3)
In the first capturing group, match any character that isn't a newline, then, match a newline, then, in a non-capturing group, match a newline. Replace the the entire matched sequence with contents of the first capturing group followed by a space.
Submitted by
anonymous
-
2 years ago
0
Network Address
PCRE (PHP <7.3)
-
Submitted by
anonymous
-
2 years ago
0
Phone number
Python
Phone number
Submitted by
anonymous
-
2 years ago
0
decimal double point with range number from minus to plus range number
Python
the decimal, double point with range number from minus to plus range number, the example from -199.99 to 199.99 revision from example pattern 1: ^(?:\-?10(?:\.\d\d?)?|\-?[1]?[1-9]?0-9?)$
Submitted by
eki.saputra
-
2 years ago
(Last modified 2 years ago)
0
regular expresion mathematical expression
Python
re to validate x/(x+b)=(dx)/a like 7/(x+9) = (4x)/3
Submitted by
anonymous
-
2 years ago
0
flake8-sql False Positives
Python
An example false positive matching docstring for the regex used by flake8-sql (https://github.com/pgjones/flake8-sql).
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
ISO8601 Date/Time Parser
Python
Parses most of the variations of ISO8601 that are allowed, including dates only and date/time with or without the time zone.
Submitted by
Mumblepins
-
2 years ago
0
Bot-Studio Comments
Python
Regex For Comments In Bot Studio Via YT Docs
Submitted by
Codaea
-
2 years ago
1
...
560
561
562
563
564
...
580
Regex Trial
0
Regular Expression
Python
r"
[
a
-
zA
-
Z
]
+
\s\s\d
|
(
2
[
0
-
3
]
|
[
01
]
?
[
0
-
9
]
)
:
(
[
0
-
5
]
?
[
0
-
9
]
)
:
(
[
0
-
5
]
?
[
0
-
9
]
)
|
(
[
0
-
9
]
{1,3}
)
\.
(
[
0
-
9
]
{1,3}
)
\.
(
[
0
-
9
]
{1,3}
)
\.
(
[
0
-
9
]
{1,3}
)
|
(
2
[
0
-
3
]
|
[
01
]
?
[
0
-
9
]
)
:
(
[
0
-
5
]
?
[
0
-
9
]
)
:
(
[
0
-
5
]
?
[
0
-
9
]
)
|
0
[
1
-
9
]
|
[
12
]
[
0
-
9
]
|
3
[
01
]
[
-/.
]
(
0
[
1
-
9
]
|
1
[
012
]
)
[
-/.
]
(
19
|
20
)
"
gm
Open regex in editor
Description
This is an internship trial for my own use
Submitted by
Adanna
-
a year ago