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 2,340 community submitted regex patterns...
0
Фильтр русских матов
Java 8
оригинал был взят отсюда: https://gist.github.com/imDaniX/8449f40655fcc1b92ae8d756cbca1264 добавил: сучка, трахать, жопа, залупа
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Start and Ends with same Letter
Java 8
regex for a string that starts and ends with the same letter
Submitted by
anonymous
-
2 years ago
0
Country code with 2 letters (List)
Python
That is an example that shows how to match a country code 2 letters for a list of possible matches
Submitted by
joaosr-adjust
-
2 years ago
(Last modified 2 years ago)
0
Country 2 letters pattern (Any)
Python
That is an example that shows how to match any country code 2 letters pattern
Submitted by
joaosr-adjust
-
2 years ago
(Last modified 2 years ago)
0
Inf_lab2
Python
Regular expressions for lab2
Submitted by
anonymous
-
2 years ago
0
EC2 Instance Type
Python
Validates ec2 instance types as of 10/19/22
Submitted by
anonymous
-
2 years ago
0
DD followed by Month in String
Python
-
Submitted by
anonymous
-
2 years ago
0
grade pattern
Java 8
grade pattern for chinese school grade
Submitted by
anonymous
-
2 years ago
0
Mt940-61
Java 8
Parse tag 61 of an mt940 statement
Submitted by
anonymous
-
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
Find ID
Python
a
Submitted by
Shaqalito
-
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
Graphql parser for pretty printing
Python
Parse Graphql queries Changelog (versions): Initial Version 2 is much improved and intended to integrate well with customized highlighting with the help of the awesome Rich library....
Submitted by
iwconfig
-
2 years ago
0
Parse AWS RDS Releases
Python
Parse AWS RDS Releases
Submitted by
anonymous
-
2 years ago
0
test
Java 8
test
Submitted by
anonymous
-
2 years ago
0
audiomack
Python
valid url test for audiomack website
Submitted by
Abdullah Ibn Fulan
-
2 years ago
0
Audio and Video files
Python
Match *audio *and *video *files in python
Submitted by
anonymous
-
2 years ago
0
currencies Question
Python
怎么在匹配 30p, 500m时,不会匹配到文章中的年份和百分比数字
Submitted by
anonymous
-
2 years ago
0
Get everything between two characters
Python
Get everything between two characters
Submitted by
Danarvelini
-
2 years ago
(Last modified 2 years ago)
0
dmidecode parse
Python
Used to match all parts of output from dmidecode.
Submitted by
Paddy3118
-
2 years ago
1
...
105
106
107
108
109
...
117
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