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 15,160 community submitted regex patterns...
0
Preg replace money
PCRE (PHP <7.3)
$ 100.00 USD
Submitted by
khiconit
-
8 years ago
0
redirections catégorie ordinateur-portable
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
C# replace property declaration with source to destination mapping
PCRE (PHP <7.3)
Takes a set of property declarations to use for destination and source mapping using substitution. substition example: dst.$5 = src.$5; Basic productivity tool ... I used it for creating an automapper type converter
Submitted by
Justin Echternach
-
8 years ago
0
Divide URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
regex for finding url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Javascript Literal to JSON
ECMAScript (JavaScript)
Converts a javascript literal to json format
Submitted by
Justin Echternach
-
8 years ago
-1
North America - US - N11 Service Number - e.164 compliant/non-compliant
ECMAScript (JavaScript)
This expression can be used for identifying if a string (such as a dialed number using a cloud based telephony service) matches one of the known North American US N11 Service Numbers. It will match if the number is in e.164 format or not, and only matches when the string begins and ends with the des...
Submitted by
Benjamin Dean
-
8 years ago
0
P1 registers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find comments block in the source code.
ECMAScript (JavaScript)
This pattern finds comments block in the source code.
Submitted by
giraysam
-
8 years ago
1
Match youtube id
PCRE (PHP <7.3)
Match any youtube id Working with the following links : https://www.youtube.com/watch?v=DFYRQ_zQ-gk&feature=featured https://www.youtube.com/watch?v=DFYRQ_zQ-gk...
Submitted by
Haroun SMIDA
-
8 years ago
0
Duplicate word match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Youtube URL Regex
PCRE (PHP <7.3)
Youtube URL validator Credit to: phuc77 The captured groups are: protocol...
Submitted by
Haroun SMIDA
-
8 years ago
0
UK phone numbers
PCRE (PHP <7.3)
Source: http://stackoverflow.com/questions/36777840/how-to-validate-phone-number-in-laravel-5-2 Thanks to: Nady Shalaby
Submitted by
Nady Shalaby
-
8 years ago
0
Check not minified file
PCRE (PHP <7.3)
This regex will match only filenames not containing the ".min" marker
Submitted by
anonymous
-
8 years ago
0
po box extracter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
SAIL Recipe Link Fix
PCRE (PHP <7.3)
Find the recipe anchor reference to be converted to a file reference. Replacement regex for sublime is: \L$3\.md
Submitted by
anonymous
-
8 years ago
1
Twitter tag regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
Palindrome
ECMAScript (JavaScript)
Captures a palindrome of 9 digits or less
Submitted by
anonymous
-
8 years ago
1
Letter followed up by to 7 numerical digits
PCRE (PHP <7.3)
This regex will match an input string of the letter B (or b) followed up by to 7 numerical digits. It will fail if any letter/number/symbol is used other than B (or b) and more than 7 numbers are entered after B (or b). This is simple and was useful for validating a Court Case ID number for users af...
Submitted by
Alan Armbrust
-
8 years ago
1
...
517
518
519
520
521
...
758
RGB colors
1
Regular Expression
PCRE (PHP <7.3)
/
#
(
[
a
-
fA
-
F0
-
9
]
{3}
)
(
[
a
-
fA
-
F0
-
9
]
{3}
)?
(?=
\W
?
)
/
g
Open regex in editor
Description
Matches all the RGB colors in the format #RRGGBB and #RGB
Submitted by
Gabriel Hautclocq
-
9 years ago