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
Super Gene Voice of God
Python
Isolates lines to format from the popular Super Gene web novel
Submitted by
max
-
3 years ago
0
Commit linter
PCRE (PHP <7.3)
Regex to lint the first line of a commit
Submitted by
anonymous
-
3 years ago
0
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
3 years ago
0
Match a phone number formatted using North American Numbering Plan (NANP)
Python
More Details: https://exercism.org/tracks/python/exercises/phone-number
Submitted by
Nishant Misra
-
3 years ago
(Last modified 3 years ago)
0
GraphQL C# helper substitution pattern
PCRE2 (PHP >=7.3)
No description
Submitted by
anonymous
-
3 years ago
1
more than 500 dollar detector
PCRE2 (PHP >=7.3)
it's brute force and messy, share a comment to simply remove redundancy
Submitted by
anonymous
-
3 years ago
1
Detect any integer larger than 499
PCRE2 (PHP >=7.3)
Glad this helps for some
Submitted by
Wallik
-
3 years ago
1
Date regex
PCRE2 (PHP >=7.3)
this regex check if the date is in the format d/m/Y H:i , it will not check the number of days in month
Submitted by
Kristian lentino
-
3 years ago
0
Capture Groups for Date Parsing
PCRE2 (PHP >=7.3)
Rip apart a date-time and reassemble the parts.
Submitted by
Richard Eigenmann
-
3 years ago
0
regex day
PCRE2 (PHP >=7.3)
y
Submitted by
anonymous
-
3 years ago
0
Us mobile no validation Regex
PCRE2 (PHP >=7.3)
just a us mobile no validator
Submitted by
Naman Shrimali
-
3 years ago
0
Edge Case Catcher
PCRE2 (PHP >=7.3)
Identifies rare and unusual typos and other edge cases in files converted to txt from other formats that would otherwise be difficult to single out.
Submitted by
lion
-
3 years ago
0
Phone Column Matcher
ECMAScript (JavaScript)
phone column matcher
Submitted by
anonymous
-
3 years ago
0
pdf extension whether query strings or no
PCRE2 (PHP >=7.3)
pdf extension whether query strings or no
Submitted by
andru255
-
3 years ago
0
Match all dots except last one
ECMAScript (JavaScript)
Match all dots except last one
Submitted by
sagarpanchal
-
3 years ago
0
Remove leading zeros (on the left) on ipv4 (ip v4)
ECMAScript (JavaScript)
Regex to remove leading (on the left) zeros on ipv4 (ip v4) Source: https://autohotkey.com/board/topic/15491-regex-to-strip-leading-zeroes-out-of-an-ip-address-octet/
Submitted by
YMP
-
3 years ago
0
Canadian Postal Code
ECMAScript (JavaScript)
The postal code is a six-character code defined and maintained by Canada Post Corporation (CPC) for the purpose of sorting and delivering mail. The characters are arranged in the form ‘ANA NAN’, where ‘A’ represents an alphabetic character and ‘N’ represents a numeric character (e.g., K1A 0T6). The ...
Submitted by
Jonathan Lafleur
-
3 years ago
0
Remove HTML tags from HTML string
ECMAScript (JavaScript)
Remove HTML tags from HTML string
Submitted by
hiroimono
-
3 years ago
0
regex shopify kca sku
PCRE2 (PHP >=7.3)
regex shopify kca sku
Submitted by
anonymous
-
3 years ago
0
Laravel inner/outer localization
PCRE2 (PHP >=7.3)
Laravel inner/outer localization
Submitted by
John Karlo Cachero
-
3 years ago
1
...
197
198
199
200
201
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
^
[
putdn
]
)
(
_
[
a
-
zA
-
Z
]
+
?
[
a
-
zA
-
Z0
-
9
]
*
?
)
(
\.
[
a
-
zA
-
Z0
-
9
]
+
?
)?
(
.
Delta
|
.
Snapshot
|
.
Event
)
(
D
|
W
|
M
|
BM
|
Q
|
Y
)?
(
_v
\d
+
.\d
+
)
(
_
\d
{4,8}
)?
(
_D
\d
+
)
(
_
[
a
-
zA
-
Z
]
+
[
a
-
zA
-
Z0
-
9
]
*
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago