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,000 community submitted regex patterns...
1
Add rgb for colour variables
ECMAScript (JavaScript)
Add rgb for colour variables
Submitted by
anonymous
-
3 years ago
1
Replace variable value with variable
PCRE2 (PHP >=7.3)
Replace variable value with variable
Submitted by
anonymous
-
3 years ago
1
Jira
PCRE2 (PHP >=7.3)
Jira
Submitted by
anonymous
-
3 years ago
1
Third Strike - SRK Wiki - Any Guard Type
ECMAScript (JavaScript)
xxx
Submitted by
Clay Dunston
-
3 years ago
1
IP Address Validation Express
PCRE (PHP <7.3)
This is an accurate IP Address validation express that matches 1.1.1.1 to 255.255.255.255. Enjoy the code and pass it on to someone else in need. _"With practice you have no choice but to improve." "A logical mind has no limits to understanding."_
Submitted by
anonymous
-
3 years ago
1
IPV4 Address Identificate
PCRE2 (PHP >=7.3)
Regex to identificate a IPV4 Address
Submitted by
Pablo Deyvid
-
3 years ago
1
Regex
PCRE2 (PHP >=7.3)
Match an element from a list
Submitted by
anonymous
-
3 years ago
1
Phone Number E.164
PCRE2 (PHP >=7.3)
Starts with + from 8 digits until 15
Submitted by
Sear Lopez
-
3 years ago
1
single ling prop to multi line
ECMAScript (JavaScript)
single ling prop to multi line
Submitted by
anonymous
-
3 years ago
1
US Date Format to ISO using regex substitution
PCRE2 (PHP >=7.3)
Convert a US Date format to ISO
Submitted by
Joe Kruger
-
3 years ago
1
SQL comments Big Query
Golang
SQL comments on Big Query
Submitted by
anonymous
-
3 years ago
1
Match Between HTML Tags
PCRE2 (PHP >=7.3)
Match everything within the given HTML tag
Submitted by
William Wilkins
-
3 years ago
1
Break PANEL webcomic
PCRE2 (PHP >=7.3)
regex that wrap the Panel section with $& so it will display like a webcomic codepen link: https://codepen.io/mangadrawing123/pen/oNwavgQ?editors=0110
Submitted by
anonymous
-
3 years ago
1
CSV CIDR subnets
ECMAScript (JavaScript)
Comma separated CIDR network addresses
Submitted by
Glenn
-
3 years ago
1
Don't match numbers longer than 5 length
Python
using ^ and $
Submitted by
anonymous
-
3 years ago
1
UK style date
PCRE2 (PHP >=7.3)
dd/mm/yyyy
Submitted by
Russ Ferriday, from Docusign templates
-
3 years ago
1
US Style Date - from Docusign template
PCRE2 (PHP >=7.3)
mm/dd/yyyy
Submitted by
Russ Ferriday, based on customer docusign template
-
3 years ago
1
Rècupère les différents liens de nitro discord
PCRE2 (PHP >=7.3)
Rècupère les différents liens de nitro discord
Submitted by
M1000.fr#0008
-
3 years ago
1
Rècupère les différents liens d'invitation de serveur discord
PCRE2 (PHP >=7.3)
Rècupère les différents liens d'invitation de serveur discord
Submitted by
M1000.fr#0008
-
3 years ago
1
ew
PCRE2 (PHP >=7.3)
ee
Submitted by
anonymous
-
3 years ago
1
...
311
312
313
314
315
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
export
)?
const
(
.
*
\=
\(
)
(
.
*
)
(
\)
.
*
\(
)
(?'fileContent'
(
\n.
*
)+
)
\3
\.
(?'varName'
[^
}
]
*
)
\}
(?'restOfPropLine'
.
*
$
)
(?'restOfFileContent'
(
\n.
*
)+
>
\n
\)
;
)
/
gm
Open regex in editor
Description
First pass that converts first instance of non-destructured props
Submitted by
anonymous
-
4 years ago