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 14,340 community submitted regex patterns...
1
test2
PCRE (PHP <7.3)
by sachin
Submitted by
me
-
8 years ago
1
privite_ip
PCRE (PHP <7.3)
filter privite ip from sting
Submitted by
harrison zhu
-
8 years ago
1
UK Student UPN Validation
PCRE (PHP <7.3)
Performs basic validation of a UK school student UPN. NOTE: this is not a guarantee that the UPN is valid, as further calculations must be done to verify the control character at the start of the UPN. See the official guidance for more details: https://www.gov.uk/government/publications/unique-pupi...
Submitted by
GeekJosh
-
8 years ago
1
Sonus
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
greetings with all adj regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Lines which have not an exact nr of entries separated by 1 Space
Python
In the example i search for all lines which have less or more than 5 spaces as seperator. modify the valid nr of spaces: there are 3 (of 4) arbitrary groups wich have an specified nr of copies of an regEx in it: in the example the valid nr of entires is 5 : -> that means 4 spaces are valid in-bet...
Submitted by
Mike
-
8 years ago
1
dutch + danish + icelandic greeings
Python
no description available
Submitted by
anonymous
-
8 years ago
1
foreign email closers
Python
no description available
Submitted by
anonymous
-
8 years ago
1
auto generated closers
Python
no description available
Submitted by
anonymous
-
8 years ago
1
wsolast350
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Find goals on recipe pages
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
NPI
PCRE (PHP <7.3)
National Provider Id (either facility or person)
Submitted by
anonymous
-
8 years ago
1
camelCase to spaced words
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
user strategy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
NOTSPACE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
NOTSPACE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
RegEx for validating array of comma seperated email-ids
PCRE (PHP <7.3)
no description available
Submitted by
Harshit Gupta
-
8 years ago
1
Find spaces in a column aligned text file
PCRE (PHP <7.3)
no description available
Submitted by
ilich R.
-
8 years ago
1
identifier
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Recursive
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
583
584
585
586
587
...
717
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