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,020 community submitted regex patterns...
0
myRegEx
.NET 7.0 (C#)
myRegEx
Submitted by
Avinash
-
2 years ago
0
测试
PCRE2 (PHP >=7.3)
竭莹用于在json中寻找评论的正则表达式
Submitted by
anonymous
-
2 years ago
0
Validate Date Represented by Integer 1900 - 2099
PCRE (PHP <7.3)
Very simple validation expression that will validate a date in the range of 19000101 through 20991231. These formats are very popular for partitioning and representing dates as Long values or Integers. This does not check for Leap year values, or the months with varying number of days. Please Note...
Submitted by
Edward Rush
-
2 years ago
0
parse sqf defines
Python
parsing armas sqf preprocessor defines
Submitted by
anonymous
-
2 years ago
0
Regex for Mastodon user accounts
PCRE2 (PHP >=7.3)
Based off https://www.regular-expressions.info/email.html
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
0
regex
PCRE2 (PHP >=7.3)
remove pun
Submitted by
anonymous
-
2 years ago
0
Model Code validator
PCRE2 (PHP >=7.3)
Check the modelCode for iOS/iPadOS devices
Submitted by
ppeelen
-
2 years ago
0
Detect start of words to then convert string to camelCase, kebab-case, snake_case, etc.
ECMAScript (JavaScript)
You can use this to match the first character in each word. Use a function to then iterate over the matches to transform into the various cases.
Submitted by
Matt Scheurich
-
2 years ago
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
Sanitize percentage input into bare real number
.NET 7.0 (C#)
Turn "123,456 %" into just "123.456"! Mainly for use in C# to parse percentage as string into double. Strip away whitespace Replace comma with decimal point Only allow valid numeric input multiple commas or decimal points won't match...
Submitted by
Moravuscz
-
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
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
1
...
474
475
476
477
478
...
901
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