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...
0
CPU performance
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
CPU Component Gen Model
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
UK postcode validation
PCRE (PHP <7.3)
May be used for validation of UK postcodes. From here: http://stackoverflow.com/questions/15960184/united-kingdom-gb-postal-code-validation-without-regex
Submitted by
anonymous
-
8 years ago
0
TP Parse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Callstack parent caller
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
TRIM: Remove spaces at the begin and at the end of the string | Elimina espacios al inicio y final de la cadena de texto
PCRE (PHP <7.3)
**Removes leading and trailing spaces from the text **Example (do not consider quotes): " Lorem ipsum dolor sit " returns "Lorem ipsum dolor sit"
Submitted by
anonymous
-
8 years ago
0
P1 register parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
JS function to arrow notation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Vimeo id from swf url
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Find sql name for rotator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match Indian 10 digit mobile without extension
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
解析華為KB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
apt list Version 2
Python
no description available
Submitted by
anonymous
-
8 years ago
0
Match part of css
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
apt list --installed
Python
extract the package name and version name from the apt list --installed command
Submitted by
anonymous
-
8 years ago
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
1
...
631
632
633
634
635
...
900
Community Library Entry
1
Regular Expression
Python
r"
^\s
+
|
\s
*
"
\s
*
|
\s
*
<
.
*
|
\S
+
@
\S
+
|
\s
*
\(
\s
*
|
\s
*
\)
\s
*
"
g
Open regex in editor
Description
handles quotes, non-quotes, angle bracket, parans, and trips extra white spaces
Submitted by
dano
-
8 years ago