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
Rename files
Python
Python regex of multiple file rename
Submitted by
anonymous
-
3 years ago
0
Search for strings being used as booleans
PCRE2 (PHP >=7.3)
We had an issue wherein people were attempting to use strings as booleans in JavaScript. E.G.: return ( {thisIsAString && ... )...
Submitted by
Nedron
-
3 years ago
0
Match Street Number
Python
Matches street number in it's 2nd group
Submitted by
anonymous
-
3 years ago
0
Russian phone
PCRE2 (PHP >=7.3)
Russian phone regex
Submitted by
Gor Sargsyan
-
3 years ago
0
AA find Excel command in script
Python
find Excel command in script based on json
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Canvas user quiz url to API url
Python
Turns a URL provided by the user (copied from the address bar) into a url to access the same quiz with the Canvas LMS REST API.
Submitted by
anonymous
-
3 years ago
0
Secret Key validation with slash, hyphen, underscore
PCRE (PHP <7.3)
Match alphanumeric with / - _
Submitted by
Shubham Thakre
-
3 years ago
0
regex_honoraires_prix
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
3 years ago
0
hashcode #15849
ECMAScript (JavaScript)
정규식 예제
Submitted by
anonymous
-
3 years ago
0
regex_honoraires_vf_2
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
3 years ago
0
regex_honoraires_vf_3
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
3 years ago
0
Browser Group < --Tabs> Filter n' Org
PCRE (PHP <7.3)
Grabs another regex from the Public Library to do most of the dirty work. When a tab is opened it scans and the: head header...
Submitted by
Another Dude
-
3 years ago
0
String literals
ECMAScript (JavaScript)
Matches string literals and contained escape sequences.
Submitted by
anonymous
-
3 years ago
0
match one or more contiguous white space characters
ECMAScript (JavaScript)
match one or more contiguous white space characters in a string. can be used in JS, for example, to replace any white space characters (tab, space, newline), as well as multiple contiguous WS chars, with a single space character. var text = “1 2 \t \n 3”; text = text.replace(/\s+/g, '...
Submitted by
anonymous
-
3 years ago
0
Email Regex
PCRE2 (PHP >=7.3)
email regex
Submitted by
anonymous
-
3 years ago
0
missing semicolons between variable declarations
ECMAScript (JavaScript)
user for bcl this helps to find missing semicolons to trigger an error
Submitted by
Cazpfitl
-
3 years ago
0
Remove emojis and \r
ECMAScript (JavaScript)
remove emojis
Submitted by
gaurav
-
3 years ago
0
URL
ECMAScript (JavaScript)
URL detection
Submitted by
anonymous
-
3 years ago
0
单行注释
ECMAScript (JavaScript)
单行注释
Submitted by
anonymous
-
3 years ago
0
多行注释
ECMAScript (JavaScript)
多行注释
Submitted by
anonymous
-
3 years ago
1
...
808
809
810
811
812
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
\b
|
\b
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
:
){7}
[
A
-
Fa
-
f0
-
9
]
{1,4}
\b
|
\b
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
:
){0,6}
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
)?
::
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
:
){0,5}
(?:
[
A
-
Fa
-
f0
-
9
]
{1,4}
)?
/
gm
Open regex in editor
Description
Regex pattern detection for IPv4 addresses and IPv6 addresses in zero compression format.
Submitted by
Lewis Wigmore
-
a year ago
(Last modified a year ago)