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,020 community submitted regex patterns...
0
regionCode
PCRE (PHP <7.3)
regular expression number starting 0-1
Submitted by
anonymous
-
8 years ago
0
MyRPS Mobile Numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
json make strict
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Reg Ex Date Format mm/dd/yyyy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
get css value and unit
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
8 number ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Keep only the code characters
PCRE (PHP <7.3)
Strips out all alphanumeric characters from your code and leaves you with only the code characters.
Submitted by
Tim van Steenbergen
-
8 years ago
0
provCode
PCRE (PHP <7.3)
regular expression for Region Code - pcre and js flavors
Submitted by
anonymous
-
8 years ago
0
GEDCOM
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
GEDCOM 1.1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
CsString.format []
PCRE (PHP <7.3)
CsString.format []
Submitted by
anonymous
-
8 years ago
0
Custom Url Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Apple brand names
PCRE (PHP <7.3)
try names like iMac iPad iDays AppleCare ...
Submitted by
Jean Luc Emmanuel VERHANNEMAN
-
8 years ago
0
US Phone
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex matches: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
8 years ago
0
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
8 years ago
0
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
8 years ago
0
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
8 years ago
0
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
8 years ago
0
Match int and float numbers in polynomial
ECMAScript (JavaScript)
I created this regex to match all integers and floats in polynomials. This regex MATCHES: 1) all integers 2) all floats ...
Submitted by
Giuseppe Tavella
-
8 years ago
1
...
30
31
32
33
34
...
901
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<file_number>
\d
+
)
\.
\s
+
(?P<filepath>
.
*
?
)
\n
(?P<file_contents>
```
(
.
*
?
)
```
)
(?=
\d
+
\.
\s
+
|
$
)
/
gms
Open regex in editor
Description
extract filename and contents
Submitted by
anonymous
-
a year ago