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 4,740 community submitted regex patterns...
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
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
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
aff url normalize
PCRE2 (PHP >=7.3)
conevrt url
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
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
0
e-mail regex
PCRE2 (PHP >=7.3)
Validates an email address
Submitted by
anonymous
-
2 years ago
0
正则提取
PCRE2 (PHP >=7.3)
ss
Submitted by
sss
-
2 years ago
0
3 digits + M
PCRE2 (PHP >=7.3)
I've used this for filtering files which are bigger than 100 M and smaller than 1 GB
Submitted by
anonymous
-
2 years ago
0
Slurs
PCRE2 (PHP >=7.3)
Not made with ill intentions.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
TXN ID
PCRE2 (PHP >=7.3)
VIL ID
Submitted by
anonymous
-
2 years ago
0
Identify and group Certificate and Private Key from a combination PEM file
PCRE2 (PHP >=7.3)
Identify and group Certificate and Private Key from a combination PEM file
Submitted by
@rbleattler
-
2 years ago
0
Get IP adress from proxy scrapper
PCRE2 (PHP >=7.3)
Get the IP Address and port from the proxybroker report "bluet/proxybroker2"
Submitted by
anonymous
-
2 years ago
0
Pig Latin
PCRE2 (PHP >=7.3)
Group first character and remaining word and flip order
Submitted by
anonymous
-
2 years ago
0
ipv4 addresses
Python
Valid ip addreses
Submitted by
anonymous
-
2 years ago
1
...
138
139
140
141
142
...
237
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