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 4,960 community submitted regex patterns...
0
Postcodes
Python
This identifies whether a postcode (four numbers, two letters has been provided)
Submitted by
anonymous
-
2 years ago
0
BankPostingMiddle
PCRE2 (PHP >=7.3)
Get Middle Value From Invoice Text
Submitted by
Diego Riva
-
2 years ago
0
BankPostingInvoiceNumber
PCRE2 (PHP >=7.3)
Get Invoice Number
Submitted by
Diego Riva
-
2 years ago
0
php socket
PCRE2 (PHP >=7.3)
validates a php socket string
Submitted by
anonymous
-
2 years ago
0
Project
Python
Project
Submitted by
anonymous
-
2 years ago
0
Verify email
PCRE2 (PHP >=7.3)
test email
Submitted by
Digimusen
-
2 years ago
0
regex for comments .py/.js/.c++
PCRE2 (PHP >=7.3)
my first regex about comments in c++, js, python
Submitted by
anonymous
-
2 years ago
0
Obtener nombre
PCRE2 (PHP >=7.3)
Expresión regular para obtener el nombre de un medicamento desde una pagina del ISP
Submitted by
anonymous
-
2 years ago
0
Pretty URLs: match ugly URL tails
PCRE2 (PHP >=7.3)
Matches: ...foo/bar.php ...foo/bar/ ...foo/bar/index ...foo/bar/index.php ...
Submitted by
DM
-
2 years ago
(Last modified 2 years ago)
0
Indain phone number
PCRE2 (PHP >=7.3)
Indain phone number
Submitted by
anonymous
-
2 years ago
0
Validate url data descriptor
PCRE2 (PHP >=7.3)
For internal purposes
Submitted by
Daniel Bañobre
-
2 years ago
(Last modified 2 years ago)
0
Validates class binded url parameter
PCRE2 (PHP >=7.3)
For internal purposes
Submitted by
Daniel Bañobre
-
2 years ago
(Last modified 2 years ago)
0
Match token and optional convert to type in string
.NET 7.0 (C#)
I use this in a JSON template together with JObject data to create a JSON string
Submitted by
rkleinkromhof
-
2 years ago
0
cloze_list_depth_1
PCRE2 (PHP >=7.3)
Submitted by
anonymous
-
2 years ago
0
valid date
Python
this regular expression is for validating dates in yyyy-mm-dd format
Submitted by
anonymous
-
2 years ago
0
Email validator for multiple email service providers
PCRE2 (PHP >=7.3)
It is for checking the validity of the submitted email.
Submitted by
anonymous
-
2 years ago
0
extract title and page from ocr of pdf content by carlleonhard
Python
extract title and page from ocr of pdf content by carlleonhard
Submitted by
carlleonhard
-
2 years ago
0
Locate HTML tags name, attributes
PCRE2 (PHP >=7.3)
A basic regex formula to find out the HTML tag name and its attributes that are available within HTML tag.
Submitted by
anonymous
-
2 years ago
0
calender thingy messing arround and things
PCRE2 (PHP >=7.3)
some descripty thingy
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
day of week sorter type thingy
PCRE2 (PHP >=7.3)
rando desc
Submitted by
anonymous
-
2 years ago
1
...
112
113
114
115
116
...
248
Community Library Entry
0
Regular Expression
Python
r"
(
```
|
`
)
(
python
)?
\s
*
?
\n
?
(
from
\S
+
)?
import
\S
+
(
\n.
*
?
;
)*
\n
(
(
.
*
return
\S
+
```
)
|
(
`return
\S
+
`
)
)
"
gm
Open regex in editor
Description
A regex that matches comments that adhere to the rules of r/ProgrammerHumor
Submitted by
anonymous
-
a year ago