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
Community Patterns
Search among 5,700 community submitted regex patterns...
1
STR_DELIVERY
ECMAScript (JavaScript)
js match until first name occurrence
Submitted by
anonymous
-
8 years ago
1
french zip code
ECMAScript (JavaScript)
code postal de taille 2 ou 5
Submitted by
NIGGGA
-
8 years ago
1
jsDoc parser
ECMAScript (JavaScript)
no description available
Submitted by
me
-
8 years ago
1
Test
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Match arbitary metadata in WordPress export XML
ECMAScript (JavaScript)
Allows for easy removal of metadata in WP export file
Submitted by
anonymous
-
8 years ago
1
3123123
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
JDBC Oracle syntax for EZCONNECT
Python
no description available
Submitted by
Alexander.Iljushkin
-
8 years ago
1
EclipseKeywordDataMatches
ECMAScript (JavaScript)
matches keyword data
Submitted by
anonymous
-
8 years ago
1
Teena is here AND you are der (why u said) OR I ll come NOT you say
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
CPE reboots reasons level 1
ECMAScript (JavaScript)
CPE reboots reasons: parsing level 1
Submitted by
anonymous
-
8 years ago
1
CPE reboots reasons level1
ECMAScript (JavaScript)
CPE reboots reasons level1
Submitted by
nshushkin
-
8 years ago
1
Regex to Match Valid Hex Color Values in CSS
Python
no description available
Submitted by
Prayash Mohapatra
-
8 years ago
1
match quotes inside tags
ECMAScript (JavaScript)
doesn't work yet
Submitted by
mihai2u
-
8 years ago
1
lua moudle
Python
no description available
Submitted by
anonymous
-
8 years ago
1
No
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Starts and Ends with 3 digits
ECMAScript (JavaScript)
String begins with 3 digits + whitespace character + any length of characters + white space + 3 digits
Submitted by
anonymous
-
8 years ago
1
splay
Python
splay js_data
Submitted by
anonymous
-
8 years ago
1
port match
Python
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-betwe...
Submitted by
Mike
-
8 years ago
1
...
225
226
227
228
229
...
285
Amazon Resource Name (ARN) pattern with a named group for each component
1
Regular Expression
Python
r"
^
arn:
(?P<Partition>
[^
:
\n
]
*
)
:
(?P<Service>
[^
:
\n
]
*
)
:
(?P<Region>
[^
:
\n
]
*
)
:
(?P<AccountID>
[^
:
\n
]
*
)
:
(?P<Ignore>
(?P<ResourceType>
[^
:
\/
\n
]
*
)
[
:
\/
]
)?
(?P<Resource>
.
*
)
$
"
gm
Open regex in editor
Description
A pattern to parse Amazon Web Services ARNs into their varying components:
Partition
Service
Region
AccountID
ResourceType (optional - empty string is missing)
Resource
Submitted by
Arnoud
-
4 years ago