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 17,640 community submitted regex patterns...
1
extract file in content string
ECMAScript (JavaScript)
no description available
Submitted by
Dang Khoa
-
8 years ago
1
find sentance with certain phrase
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
fqsfq
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
qfdqf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
two url paths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
all spaces preceeding numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
derp
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
US Canada Zip Validator
ECMAScript (JavaScript)
Formats can be like : US: 80021 80021-4325 ...
Submitted by
Abdul Nasir
-
8 years ago
1
US and Canadian Zip Code Validator
PCRE (PHP <7.3)
Possible Formats: N8X 3T7 N8X 80021 80021-1234
Submitted by
Abdul Nasir
-
8 years ago
0
Phone number
ECMAScript (JavaScript)
A good enough, nonrigorous expression
Submitted by
rchfox
-
8 years ago
1
FA12-BSE-008
Python
no description available
Submitted by
fb.com/ahsanulhaq007
-
8 years ago
0
Basic Unmarked Phone Number Regex
PCRE (PHP <7.3)
1112223333
Submitted by
Wolf1098
-
8 years ago
1
Find and Highlight word (Arabic)
ECMAScript (JavaScript)
Find Arabic letters and highlight the whole words.
Submitted by
M.Nizam
-
8 years ago
1
Validate US numbers
ECMAScript (JavaScript)
Works for: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555 5555555555...
Submitted by
Antsa R
-
8 years ago
1
bundel.js regex
PCRE (PHP <7.3)
cat txt | sed 's/client_secret="[]"/client_secret="HEREHERE"/
Submitted by
anonymous
-
8 years ago
1
mix of number, dot and characters in one line
PCRE (PHP <7.3)
This regex capture only one of string that is a combination of number, dot and characters. It can also not have any number or dot, but must have at least one character
Submitted by
Moein
-
8 years ago
1
ALI PArce
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
digit,space,dot,character,one line only
PCRE (PHP <7.3)
It matches any one line of string that does not have only digit, space and dot(\x2e). If it has any character beside the aformentioned ones there is a match.
Submitted by
Moein
-
8 years ago
1
Non-recursive
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Recursive
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
627
628
629
630
631
...
882
decimal_to_frac
0
Regular Expression
Python
r"
(
0
\.
5
)
|
(
\.
5
)
|
(
[
0
-
9
]
*
?
)
\.
5
(
(?(1)
|
)
)
"
Open regex in editor
Description
Convert .5 in all its forms to 1/2
Submitted by
Brett Tofel
-
8 years ago