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 6,100 community submitted regex patterns...
0
Hour regex
PCRE2 (PHP >=7.3)
Define 24 hour format
Submitted by
anonymous
-
2 years ago
0
12 hours regex
PCRE2 (PHP >=7.3)
Define hour at 12 hours
Submitted by
anonymous
-
2 years ago
0
Route URI match using curly braces syntax
PCRE2 (PHP >=7.3)
This is regex expression for finding route parameters using regex syntax.
Submitted by
Themba Lucas Ngubeni
-
2 years ago
0
Dafne
PCRE2 (PHP >=7.3)
.NSO.HORDIN_XMLDAFNEV..xml
Submitted by
Dorino
-
2 years ago
0
find integer not float number
PCRE2 (PHP >=7.3)
such as a line of number: 0.345, 435, 345
Submitted by
anonymous
-
2 years ago
0
Currency
ECMAScript (JavaScript)
Currency
Submitted by
jerryd
-
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
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
1
...
270
271
272
273
274
...
305
GS1-128 and RegEx
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