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 3,040 community submitted regex patterns...
0
JavaScript Array
PCRE2 (PHP >=7.3)
Matches items in a JavaScript Array
Submitted by
me
-
2 years ago
0
Word Match
PCRE2 (PHP >=7.3)
Matches Word
Submitted by
cool66
-
2 years ago
0
Word
PCRE2 (PHP >=7.3)
match words
Submitted by
e
-
2 years ago
0
HTML Tag Matcher
PCRE2 (PHP >=7.3)
Matches html tags [new update]
Submitted by
cool66
-
2 years ago
0
Match Email
PCRE2 (PHP >=7.3)
Matches email.
Submitted by
cool66
-
2 years ago
0
goodreads published year dump
PCRE2 (PHP >=7.3)
this can be use to dump you book info
Submitted by
Sjoerd
-
2 years ago
0
Prime NG upgrade
PCRE2 (PHP >=7.3)
Prime NG grid upgrade from 9 to 14
Submitted by
anonymous
-
2 years ago
0
SSID Pattern
.NET 7.0 (C#)
Length must be 7 digits Every character must be an integer
Submitted by
Abhi Reddy
-
2 years ago
(Last modified 2 years ago)
0
Starts with year in range 2016 to 2050
PCRE2 (PHP >=7.3)
Starts with a year in the range of 2016 to 2050
Submitted by
Abhi Reddy
-
2 years ago
0
URL
PCRE2 (PHP >=7.3)
scheme host port path query
Submitted by
anonymous
-
2 years ago
0
Liferay-Portal version extract
PCRE2 (PHP >=7.3)
Liferay-Portal version extract
Submitted by
anonymous
-
2 years ago
0
Get !Aphanumeric character
PCRE2 (PHP >=7.3)
get regex
Submitted by
Rafaella Cintra
-
2 years ago
0
4 Groups from JSON
PCRE2 (PHP >=7.3)
4 Groups from JSON
Submitted by
Erik Leiren
-
2 years ago
0
Oauth2 client token matcher
Java 8
Grep the token value for almost any JSON response containing an oauth2 token as describe in rfc6749
Submitted by
Pharaphara
-
2 years ago
0
^[가-힣a-zA-Z\d\-_\/\~\!\@\#\$\%\^\&\*\(\)\+\?\[\] ]+
PCRE2 (PHP >=7.3)
^[가-힣a-zA-Z\d\-_\/\~\!\@\#\$\%\^\&\*\(\)\+\?\[\] ]+
Submitted by
anonymous
-
2 years ago
0
Trim Full Terrestrial Channel
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
2 years ago
0
Regular expression for positive number with 2 decimals used for displaying money
Java 8
I think from time to time we all need a regular expression for displaying numbers with 2 decimals for displaying money of various currencies in the world. This regex should only allow 1 dot or comma as a decimal separator. And only allow positive numbers and the numbers can't begin with a 0. Goals:...
Submitted by
Remzi Cavdar
-
2 years ago
(Last modified a year ago)
0
Laugh Match
PCRE2 (PHP >=7.3)
match laugh texts
Submitted by
cool66
-
2 years ago
0
printf C99
PCRE2 (PHP >=7.3)
A regex that matches the printf C99 standard
Submitted by
renardfute
-
2 years ago
0
convert number to Lakh format
PCRE2 (PHP >=7.3)
converts a number to Lakh format, e.g: 123456789 == 12,34,56,789 breakdown: twelve crore thirty-four lakh fifty-six thousand seven hundred and eighty-nine
Submitted by
anonymous
-
2 years ago
1
...
120
121
122
123
124
...
152
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