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
HTTP Origin
PCRE2 (PHP >=7.3)
May be used to validate HTTP Origin
Submitted by
cicnavi
-
3 years ago
0
Laravel inner/outer localization
PCRE2 (PHP >=7.3)
Laravel inner/outer localization
Submitted by
John Karlo Cachero
-
3 years ago
0
regex shopify kca sku
PCRE2 (PHP >=7.3)
regex shopify kca sku
Submitted by
anonymous
-
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
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 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
Match all dots except last one
ECMAScript (JavaScript)
Match all dots except last one
Submitted by
sagarpanchal
-
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
Phone Column Matcher
ECMAScript (JavaScript)
phone column matcher
Submitted by
anonymous
-
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
Us mobile no validation Regex
PCRE2 (PHP >=7.3)
just a us mobile no validator
Submitted by
Naman Shrimali
-
3 years ago
0
regex day
PCRE2 (PHP >=7.3)
y
Submitted by
anonymous
-
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
GraphQL C# helper substitution pattern
PCRE2 (PHP >=7.3)
No description
Submitted by
anonymous
-
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
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
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
Super Gene Voice of God
Python
Isolates lines to format from the popular Super Gene web novel
Submitted by
max
-
3 years ago
0
tablespoons
Python
fasdgasdes
Submitted by
asffgsadd
-
3 years ago
0
Match all characters accept for those not accepted
PCRE2 (PHP >=7.3)
Pattern for validating a text area, to allow all characters except those in the regex pattern. An event listener checks entry on keyup, and displays error or success live in the bootstrap 5 HTML. if (field.name === "form_message") { const re = /#%^&*\/; if (re.test(field.va...
Submitted by
anonymous
-
3 years ago
1
...
390
391
392
393
394
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
f
(
(
\d
+
)
(
\/
{0,2}
)
(
\d
*
)
(
\/
{0,2}
)
(
\d
*
)
(
\/
{0,2}
)
){0,3}
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago