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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 11,520 community submitted regex patterns...
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
cert
PCRE (PHP <7.3)
cert regex
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
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
Phone Format ( FORK )
PCRE (PHP <7.3)
f
Submitted by
anonymous
-
2 years ago
0
test
Java 8
test
Submitted by
anonymous
-
2 years ago
0
Tecnologie Web - Regex
PCRE (PHP <7.3)
REGEX per il progetto di tecnologie web
Submitted by
Federico Benedetti
-
2 years ago
0
Switching items in a database
PCRE (PHP <7.3)
This is from "Learning the Vi editor", chapter 6 page 96
Submitted by
anonymous
-
2 years ago
0
audiomack
Python
valid url test for audiomack website
Submitted by
Abdullah Ibn Fulan
-
2 years ago
0
Exact match of a word in a phrase: the phrase must be composed by a single word
PCRE (PHP <7.3)
It will match if it's present only the exact word in a phrase, without any other words in the same sentence
Submitted by
anonymous
-
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
0
FG – VIP details extraction
Python
FG – Extract details of each VIP address from VIP addresses configuration block
Submitted by
anonymous
-
2 years ago
0
12 digit mobile number regex
Python
The regex matches for national or international phone number of up to 15 digits if it includes the country code
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
1
...
562
563
564
565
566
...
576
Trim whitespace at beginning and/or end of a line
0
Regular Expression
Python
r"
^\s
*
(
\S.
*
\S
)
\s
*
$
"
gm
Open regex in editor
Description
identifies spaces at the beginning and end of lines. Can be used as a Trim function
Submitted by
Eric Hills
-
2 years ago