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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 5,920 community submitted regex patterns...
0
thx hjpotter
PCRE2 (PHP >=7.3)
Thanks
Submitted by
hjpotter92
-
2 years ago
0
Coordinates Validation
PCRE2 (PHP >=7.3)
This is for validating coordinates
Submitted by
anonymous
-
2 years ago
0
繼續畫記 bug
ECMAScript (JavaScript)
fix 繼續畫記 can not merge overlap tag bug: // failed case: <*認知/自殺與憂鬱_3*>之前我的朋友</*認知/自殺與憂鬱_3*>生了什麼病現在她都好了還硬要給這什麼預後的藥她說對<*認知/自殺與憂鬱_3*>成分會過敏也</*認知/自殺與憂鬱_3*>沒有避開想害人也不是這樣還是對沒生病的地方開藥她已經身<*認知/自殺與憂鬱_3*>材在一天內</*認知/自殺與憂鬱_3*> // in this case, it'll have matched group: // part1: <*認...
Submitted by
anonymous
-
2 years ago
0
Match word or phrase not preceded by another word or phrase
PCRE2 (PHP >=7.3)
Modified from this StackOverflow answer, this Regex matches a word or phrase which is not preceded by another word or phrase
Submitted by
anonymous
-
2 years ago
0
Friendzymes: dna-annotate github action example
Golang
Example input-pattern for the Friendzymes GitHub Action dna-annotate.
Submitted by
Friendzymes Team
-
2 years ago
0
Html Color Regex
ECMAScript (JavaScript)
This Regex can be used to validate the different format of colors in the HTML
Submitted by
Pranomvignesh
-
2 years ago
0
Our Box # Format Reader/Checker
PCRE2 (PHP >=7.3)
This is used to check and grab parts from our box # format at our production facility.
Submitted by
edp9884
-
2 years ago
0
Port range validation
PCRE2 (PHP >=7.3)
Regex to match tcp/udp port and range. Comma can be used as delimiter
Submitted by
anonymous
-
2 years ago
0
Adds JsonPropertyName attribute to class members in a C# class
PCRE2 (PHP >=7.3)
Useful for adding JsonPropertyName to a bunch of class members. Given: ` public string MemberId { get; set; } `...
Submitted by
PatrickV
-
2 years ago
0
alphabet and number allowed
PCRE2 (PHP >=7.3)
/^(?=.?[a-zA-Z])(?=.?[0-9])/gm
Submitted by
anonymous
-
2 years ago
0
Number, Upper, Lower, SpecialChars
PCRE2 (PHP >=7.3)
/^(?=.?[A-Z])(?=.?[a-z])(?=.?[0-9])(?=.?[#?!@$%^&-]).$/gm
Submitted by
anonymous
-
2 years ago
0
url check
PCRE2 (PHP >=7.3)
check for urls
Submitted by
naxmefy
-
2 years ago
0
HealthMatch Wordpress specialists index
PCRE2 (PHP >=7.3)
Specialists index
Submitted by
anonymous
-
2 years ago
0
Income range Extraction
PCRE2 (PHP >=7.3)
Now that we have Income in a column we can split it up into upper and lower as they are two different values. We can use multiple ways to extract this information, seperate, extract, or case_when. I will be using extract as this provides the best way to collect this information.
Submitted by
anonymous
-
2 years ago
0
Match Last Word Of Each Line
PCRE2 (PHP >=7.3)
Nice if you need to remove or extract the last word\string on a line.
Submitted by
Heath Brown
-
2 years ago
0
Regex for Nigerian Phone number
PCRE2 (PHP >=7.3)
Regex to validate a Nigerian phone number
Submitted by
Kelechi Apugo
-
2 years ago
0
Latex Quotes
PCRE2 (PHP >=7.3)
Convert "text" to ``text''
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
MongoDB Connection String
ECMAScript (JavaScript)
A regEx to validate a mongoDb connection string like the following: mongodb+srv://user:pass@subdomain.domain.com:27107/fDb/?replicaSet=myRepl&ssl=true
Submitted by
F2BEAR
-
2 years ago
(Last modified 2 years ago)
0
character followed by number
Golang
ehehe
Submitted by
arahsafari
-
2 years ago
0
IBM MQ Log Parser
PCRE2 (PHP >=7.3)
Breaks the IBM MQ Log into records.
Submitted by
James Phillips
-
2 years ago
1
...
206
207
208
209
210
...
296
9999
1
Regular Expression
ECMAScript (JavaScript)
/
^
\(
{1,4}
[
9
]
[
\*\-\+\/
]
[
9
]
\)
?
[
\*\-\+\/
]
[
9
]
\)
{0,2}
[
\*\-\+\/
]
[
9
]
\)
{0,1}
/
Open regex in editor
Description
Using exactly four 9s and no other digits, write an equation which evaluates to 100
Submitted by
GMiller
-
9 years ago