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...
-2
regex demo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
reference
PCRE (PHP <7.3)
reference pattern checking
Submitted by
karthikeyan
-
10 years ago
1
Ham radio callsign
PCRE (PHP <7.3)
Use part 1, 3 , 5 for establish the portable callsign like 1 = DL/ 2 = F5UII 3 = /QRP
Submitted by
F5UII (http://www.fuii.net)
-
10 years ago
0
reference
PCRE (PHP <7.3)
no description available
Submitted by
karthikeyan
-
10 years ago
-3
Detect a numeric string
ECMAScript (JavaScript)
no description available
Submitted by
Ankur Chauhan
-
10 years ago
0
sms csv (sqlite exported) replace newlines with \n in body
PCRE (PHP <7.3)
no description available
Submitted by
flash_us
-
10 years ago
1
ZLNLB
PCRE (PHP <7.3)
Zero length negative lookbehind
Submitted by
anonymous
-
10 years ago
0
Group and split string between pipe delimiters
ECMAScript (JavaScript)
Please help! This is probably a very simple task for regex experts. I want to extract and group the fields before or after each pipe character |. 1234|text1|text2|text3|text4|text5 Expected result would be separate groups e.g.: 1234...
Submitted by
Grateful or dead
-
10 years ago
1
replace test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
tel:// and sms:// validator
PCRE (PHP <7.3)
Easly to check tel:// or sms:// protocols.
Submitted by
Erdem Arslan
-
10 years ago
1
Array formating
PCRE (PHP <7.3)
Check for correctly formatted array of this type: array(1,2,3,)
Submitted by
oneperfectsunrise
-
10 years ago
1
Array formating (serialized)
PCRE (PHP <7.3)
Check for correctly formatted array of this type: array('a', 'bb', 'ccccc',)
Submitted by
oneperfectsunrise
-
10 years ago
1
Code Review
PCRE (PHP <7.3)
username
Submitted by
Devon Parsons
-
10 years ago
1
transfer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Test post by e-mail
PCRE (PHP <7.3)
Description here
Submitted by
Arief
-
10 years ago
1
filter match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
RegexMatchingAtLeast2SpecialCharacters
PCRE (PHP <7.3)
The special characters are ~!@#$%^&*()
Submitted by
anonymous
-
10 years ago
1
How to limit total number of characters of match
ECMAScript (JavaScript)
I need to match a pattern as follows with the added limitation that the match must be exactly 7 characters long: /^\d[a-zA-Z]\d$/ In words, this is a 7 character sequence of 6 digits and one alphabetic character in any order. How do I limit the overall length to 7 using regex? Thanks!
Submitted by
Andy S
-
10 years ago
1
Flask detectar variables en url
PCRE (PHP <7.3)
Esta expresión regular permite detectar las variables que están declaradas dentro de una url o route del framework Flask, con esto lo único que queda es armar un loop que recorra las coincidencias y que las remplace por los valores adecuados
Submitted by
Jerry Anselmi <https://github.com/ElMijo>
-
10 years ago
1
Regex to get video ID from Youtube links
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
90
91
92
93
94
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
thank-you
$
)
|
(
thank-you
\?
)
|
(
thank-you
\/\?
)
/
gm
Open regex in editor
Description
thank you pages regex
Submitted by
anonymous
-
2 years ago