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...
0
Semantic Version (semver)
.NET 7.0 (C#)
.NET version of the Python regex found on https://semver.org/
Submitted by
semver.org,Jeff Jacobson
-
2 years ago
0
GS1-128 and RegEx
PCRE2 (PHP >=7.3)
Parse the 3 groups of a GS1-128 Barcode
Submitted by
Mike D
-
2 years ago
0
Validate Swedish License Plater Number (2022)
PCRE2 (PHP >=7.3)
For the first three characters, A-Z excluding I, Q, V, Å, Ä and Ö are issued on plates. Character 4 and 5: 0-9 digits allowed. Last character A-Z excluding I, O, Q, V, Å, Ä and Ö valid.
Submitted by
Müllweisser
-
2 years ago
0
Variable address condition
Java 8
This regex matches the variable address condition like: [1,100] >= 1 && [1,111] <= 2
Submitted by
Texx
-
2 years ago
0
Identifier Regex
Java 8
Regex for identifiers
Submitted by
anonymous
-
2 years ago
0
remove any salutation like mr. mrs Dr. etc from the beginning of the name
ECMAScript (JavaScript)
remove any salutation like mr. mrs Dr. etc from the beginning of the name
Submitted by
prax
-
2 years ago
0
routes
PCRE2 (PHP >=7.3)
routes
Submitted by
anonymous
-
2 years ago
0
Date time ISO_8601 Pattern
PCRE2 (PHP >=7.3)
credits to Sayooj V R
Submitted by
anonymous
-
2 years ago
0
super regex
Golang
Get every word ending with dot using Regex/VBA
Submitted by
anonymous
-
2 years ago
0
amazIng regex
PCRE (PHP <7.3)
super
Submitted by
anonymous
-
2 years ago
0
CSV Parsing one by one value including \n
ECMAScript (JavaScript)
CSV Parsing one by one value including \n
Submitted by
Dirk Holtwick
-
2 years ago
0
aff url normalize
PCRE2 (PHP >=7.3)
conevrt url
Submitted by
anonymous
-
2 years ago
0
匹配句子,第一个单词首字母大写,结尾匹配句号、问好、感叹号。
ECMAScript (JavaScript)
[A-Z]+[\.?!]
Submitted by
anonymous
-
2 years ago
0
Extract a string key's values from a json
Java 8
Sample: Finds errorType key values from a json. Values are returned in capturing group 1 of each match. Both UNKNOWN and UNAUTHENTICATED will be captured. ...
Submitted by
amansaryal
-
2 years ago
(Last modified 2 years ago)
0
sql inj
ECMAScript (JavaScript)
as
Submitted by
anonymous
-
2 years ago
0
id
PCRE2 (PHP >=7.3)
getid
Submitted by
anonymous
-
2 years ago
0
id
PCRE2 (PHP >=7.3)
getid
Submitted by
anonymous
-
2 years ago
0
inefficient int/float(exponent)
PCRE (PHP <7.3)
match a single number
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
iPhone, iPad, iPod user agent
PCRE2 (PHP >=7.3)
Regex matches iPhone, iPad, iPod user agents. Tested against 250k apache log lines. By Dennis Faas https://www.infopackets.com
Submitted by
anonymous
-
2 years ago
0
ChromeOS user agent
PCRE2 (PHP >=7.3)
Regex matches Chrome OS user agents. Tested against 4.5k apache log lines. By Dennis Faas https://www.infopackets.com
Submitted by
anonymous
-
2 years ago
1
...
857
858
859
860
861
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\(
\d
{1,3}
[
0
-
9,a
-
z,A
-
Z
]
{1}
?
\)
(?<upc>
[
\d
,a
-
z,A
-
Z
]
{1,70}
)
)
(
\(
\d
{1,3}
[
0
-
9,a
-
z,A
-
Z
]
{1}
?
\)
(?<date>
[
\d
,a
-
z,A
-
Z
]
{1,70}
)
)
(
\(
\d
{1,3}
[
0
-
9,a
-
z,A
-
Z
]
{1}
?
\)
(?<batch>
[
\d
,a
-
z,A
-
Z
]
{1,70}
)
)
/
gm
Open regex in editor
Description
Parse the 3 groups of a GS1-128 Barcode
Submitted by
Mike D
-
2 years ago