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...
1
Spaces
PCRE (PHP <7.3)
Get all spaces in a string
Submitted by
anonymous
-
9 years ago
1
EDI parser - INVRPT 97A
PCRE (PHP <7.3)
INVRPT:D:97A
Submitted by
Ran Z
-
9 years ago
1
i
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Plant Ninja woocommerce product category rewrites
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Plant Ninja woocommerce product category rewrites
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Percentage complete
PCRE (PHP <7.3)
no description available
Submitted by
Asif
-
9 years ago
1
Dates validation
PCRE (PHP <7.3)
Not accurate
Submitted by
anonymous
-
9 years ago
1
Fax number Regx for all countries
PCRE (PHP <7.3)
Fax number Regx for all countries
Submitted by
Priya Viswanathan
-
9 years ago
1
Hashtag
PCRE (PHP <7.3)
To find hashtags. It also allows underscores (_), not sure if that is officially correct.
Submitted by
cad
-
9 years ago
0
date dd.mm.yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
tr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Gyazo Page to PNG
ECMAScript (JavaScript)
Turns Gyazo page links into PNG links (useful for auto-previews, embedding etc.)
Submitted by
md678685
-
9 years ago
1
Copyright Search
PCRE (PHP <7.3)
searches for either Copyright or copyright symbol, or the programmer's short hand of (c) (which is NOT legal, use the symbol!).
Submitted by
Henry Rieke
-
9 years ago
1
Catastrophic Backtrack
PCRE (PHP <7.3)
This regexp matches urls, but causes catastrophic backtrack
Submitted by
anonymous
-
9 years ago
1
Chemical formula regex
PCRE (PHP <7.3)
Parses some chemical formula
Submitted by
anonymous
-
9 years ago
1
Search for Abbreviations and acronyms
PCRE (PHP <7.3)
no description available
Submitted by
Agustín Bouillet
-
9 years ago
1
Apache Error Log Date Parsing
PCRE (PHP <7.3)
Parse the date from an Apache Error Log in the format of "Wed Jun 01 20:05:21.12345 2016"
Submitted by
garys
-
9 years ago
1
ip addr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
timestamp offset
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Url Exclud word
PCRE (PHP <7.3)
exclude match if a word is in the url
Submitted by
anonymous
-
9 years ago
1
...
221
222
223
224
225
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
[^
\n\s
]
+
)
(?:
[
\s
]
)
(
[^
\n\s
]
+
)
(?:
[
\s
]
)
#(?:([^\n\s]+))?(?:[\s])?
(?:
(
[^
:
\n
]
+
)
(?:
[
:
]
)
(
[^
\s\n
]
+
)
(?:
[
\s
]
+
)
(
[^
\n
]
*
)
$
|
(
[^
\n\s
]
+
)?
(?:
[
\s
]
)?
$
)
/
gmixX
Open regex in editor
Description
[!]
Submitted by
anonymous
-
5 years ago