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,040 community submitted regex patterns...
1
ruby
PCRE (PHP <7.3)
fdsafdsa
Submitted by
fdsafdsa
-
8 years ago
1
espre. ok
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
وب برتر
PCRE (PHP <7.3)
درج آگهی رایگان اینترنتی با وب برتر.
Submitted by
pdsign
-
8 years ago
1
\[\ \s*[a-z#A-Z_]+\s*-?\d+([\.]\d+)*\s*\ ]/
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
SV.NET Service Bus Log
PCRE (PHP <7.3)
SV.NET Service Bus Log
Submitted by
Garry West
-
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
Twitter tag regex
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
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
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
1
Javascript Literal to JSON
ECMAScript (JavaScript)
Converts a javascript literal to json format
Submitted by
Justin Echternach
-
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
1
Vimeo id from swf url
ECMAScript (JavaScript)
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
1
Fontawesome - Icon parser (hex + title)
PCRE (PHP <7.3)
Page with icons PHP example: Generate xml for android resources header('Content-Description: File Transfer'); header("Content-Type: text/xml");...
Submitted by
IgorSkv
-
8 years ago
1
Extract Sql Columns from the given query
ECMAScript (JavaScript)
Tries to find the column names from the given SQL query.
Submitted by
anonymous
-
8 years ago
1
Extract all telephones in text
Python
Find all telephones in text: 968123123 968 123 123 968.123.123 968 12 12 12
Submitted by
anonymous
-
8 years ago
1
Full URLs (by dpmontero.es)
Python
Get all URLs: www.lapagina.com pagina.com http://www.lapagina.com http://pagina.com https://www.lapagina.es
Submitted by
anonymous
-
8 years ago
1
UTC Time Matcher
PCRE (PHP <7.3)
This expression verify an UTC time like UTC+02:00 or UTC-12:30
Submitted by
anonymous
-
8 years ago
1
SSN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
224
225
226
227
228
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
-+
]
?
?
\d
+
?
[
.
]
?
?
\d
*
?
$
)
|
(
^
[
.
]
?
?
\d
+
?
$
)
|
(
^
[
-+
]
?
?
\d
+
?
[
.
]
?
\d
*
?
[
eE
]
[
+-
]
?
\d
+
?
$
)
/
gm
Open regex in editor
Description
Number validation in Javascript. Abit too contrived
Submitted by
b0tman
-
8 years ago