Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 9,720 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
group & substitute
PCRE (PHP <7.3)
attempting to isolate and substitute (replace) in PCRE.
Submitted by
ABc3P0
-
a year ago
2022-08-18 18:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Key - Value extractor
Java 8
Key - Value extractor
Submitted by
anonymous
-
a year ago
2022-08-19 19:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Inner field values extraction
Java 8
Inner field values extraction
Submitted by
anonymous
-
a year ago
2022-08-20 10:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Any WhiteSpace Character
.NET (C#)
Any WhiteSpace Character
Submitted by
anonymous
-
a year ago
2022-08-21 12:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Date From DateTime ISO 8601
Golang
Match Date From DateTime ISO 8601
Submitted by
kuyaninja
-
a year ago
2022-08-22 10:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
for-orth
Java 8
For orth
Submitted by
gastipatis
-
a year ago
2022-08-23 15:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find any string between quotes
PCRE (PHP <7.3)
Find any string between the first set of quotes Finds...
Submitted by
Brian Caudill
-
a year ago
2022-08-28 20:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ruby Gemspec Versioning
Golang
Determine the version value in a gemspec configuration file
Submitted by
Ori
-
a year ago
2022-08-30 13:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
custom email
.NET (C#)
custom email
Submitted by
anonymous
-
a year ago
2022-08-30 13:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
teste
Submitted by
anonymous
-
a year ago
2022-08-30 14:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mvc
PCRE (PHP <7.3)
com c#
Submitted by
anonymous
-
a year ago
2022-08-31 13:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SQL Query Scalar Field Names Extractor
Java 8
SQL Query Scalar Field Names Extractor
Submitted by
Dobri
-
a year ago
2022-09-01 13:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
7zip file type regex
.NET (C#)
header of output from > 7z i
Submitted by
ninmonkey
-
a year ago
2022-09-06 14:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
title and page
.NET (C#)
find title and page in text
Submitted by
anonymous
-
a year ago
2022-09-07 03:55
(Last modified a year ago)
2022-09-07 11:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filter Special Characters
PCRE (PHP <7.3)
A regular expression to filter special characters.
Submitted by
gwicho38
-
a year ago
2022-09-08 16:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Phone Number: 03## ####### OR +92 3## #######
Java 8
Can be used to match Pakistani SIM card Numbers
Submitted by
anonymous
-
a year ago
2022-09-10 09:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
1
PCRE (PHP <7.3)
Prueba 1
Submitted by
anonymous
-
a year ago
2022-09-12 06:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
filter
PCRE (PHP <7.3)
filter string
Submitted by
anonymous
-
a year ago
2022-09-14 02:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex only character number and 14 special character
PCRE (PHP <7.3)
regex only character number and 14 special character
Submitted by
hao.nguyen
-
a year ago
2022-09-15 04:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
S3 Path with ending .json
Golang
S3 Path with ending .json
Submitted by
Sowmith
-
a year ago
2022-09-15 14:38
1
...
473
474
475
476
477
478
479
...
486
php naming convension (classes, vars, functions, constants)
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
[
\pL
_
]
[
\pL
_
\pN
d
]
*
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Najmuddeen Mohammed
-
7 years ago
2016-09-25 13:48