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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 17,100 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
0
URL query param
Python
A solution for capture set/unset/catch a value of param query of URLs. Here is a example code that applies this pattern in JS, but JS doesn't have support to lookbehind.
Submitted by
Rafael Laurindo
-
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
3
Thorough UK Postcode Validator with In/Out code capture groups
Python
A more thorough UK postcode validator tested against all UK postcodes on a regular basis, but excluding the special GIRO postcode case out of personal preference. Additionally has capture groups for the In-code and Out-code sections. Requires case insensitive matching.
Submitted by
Chris G
-
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
Facebook embedded video
Python
no description available
Submitted by
anonymous
-
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
...
586
587
588
589
590
...
855
PHP (variable, function, class, constant) naming convension
1
Regular Expression
PCRE (PHP <7.3)
/
^
[
\pL
_
]
[
\pL
_
\pN
d
]
*
$
/
Open regex in editor
Description
PHP Basic coding standard
Submitted by
Najmuddeen Mohammed
-
8 years ago