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
Community Patterns
Search among 11,500 community submitted regex patterns...
0
Regex to flag the word "pharmafia"
Python
Useful for forum moderators looking to flag variations of the word "pharmafia" in comments. captures the following variations: pharmafia ph4rm4f14 phar_mafia phar-mafia
Submitted by
tychopotts
-
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
分组引用
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
0
Author names
Python
Matches author names
Submitted by
anonymous
-
2 years ago
0
THE BEST RegEx for extracting filename without extension and extension from any path
PCRE (PHP <7.3)
THE BEST RegEx for extracting filename without extension and extension from any path
Submitted by
anonymous
-
2 years ago
1
...
557
558
559
560
561
...
575
route53 export to bind format, moving TTL field
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
\w
+
-
?
?
\.
?
\w
+
?
\s
+
?
)
(
IN
\s
+
?
[
ACNAME
]
{1,5}
\s
+
)
(
\d
{1,}
)
(
\s
+
)
(
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
)
$
/
Open regex in editor
Description
move TTL field from route53 zone export from right to left to "IN A/CNAME"
Submitted by
shawn.puschnig@medialets.com
-
9 years ago