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 5,480 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Universal Phone Regular Expression
PCRE2 (PHP >=7.3)
Universal Phone Regular Expression
Submitted by
Priy Ranjan Prakash
-
6 months ago
2023-04-06 14:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Capture of IEC Structure levels ==, =, ++, +
PCRE2 (PHP >=7.3)
Grabs all characters up to a single '+' sign
Submitted by
anonymous
-
6 months ago
2023-04-06 15:24
(Last modified 2 months ago)
2023-07-25 14:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check if is a roblox game
PCRE2 (PHP >=7.3)
Checks, if the value is a url of a roblox game
Submitted by
Justman10000
-
6 months ago
2023-04-06 23:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
All Phone Number in VietNam in a real project
ECMAScript (JavaScript)
This is data from many years and my boss want me to extract all the number in spreadsheet, it's about 14,000 records
Submitted by
Le Nam Son
-
6 months ago
2023-04-08 19:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Non space, alphanumeric, with four punctuation symbols (?!.,)
PCRE2 (PHP >=7.3)
Y
Submitted by
anonymous
-
6 months ago
2023-04-09 23:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
chapter
PCRE2 (PHP >=7.3)
a
Submitted by
anonymous
-
6 months ago
2023-04-10 12:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find all special characters in a Device Tag to be replaced
PCRE2 (PHP >=7.3)
Find all IEC structure level characters within a Device tag so they can be replaced with a underscore
Submitted by
Michael B
-
6 months ago
2023-04-10 20:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match glassId
PCRE2 (PHP >=7.3)
使用边界来匹配输出
Submitted by
anonymous
-
6 months ago
2023-04-11 03:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
3 Letras para clave Aeropuerto
PCRE2 (PHP >=7.3)
Encuentra 3 letras para enlistar claves de Aeropuerto
Submitted by
anonymous
-
6 months ago
2023-04-11 07:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
temporary python files on replit
PCRE2 (PHP >=7.3)
used in inotifywait command to check which file was modified last
Submitted by
anonymous
-
6 months ago
2023-04-12 15:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
S3 AWS Bucket Matcher
ECMAScript (JavaScript)
This matcher follows the rules given at https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html for legal s3 bucket names (the segment before the first slash if any)
Submitted by
anonymous
-
6 months ago
2023-04-13 00:01
(Last modified 6 months ago)
2023-04-13 00:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GECOS and /etc/passwd
PCRE2 (PHP >=7.3)
Pull out fields in /etc/password and group.
Submitted by
anonymous
-
6 months ago
2023-04-13 23:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex for name unicode
PCRE2 (PHP >=7.3)
regex detect name unicode
Submitted by
hao.nguyen
-
6 months ago
2023-04-14 03:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
https://*.youtube.com (www or non www)
PCRE2 (PHP >=7.3)
Regex to check https://www.youtube.com or https://youtube.com
Submitted by
davidgaroro
-
6 months ago
2023-04-14 04:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Add new line to every 2 sentences
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
6 months ago
2023-04-14 06:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find domains in text
ECMAScript (JavaScript)
This regex will find domain inside of strings
Submitted by
anonymous
-
6 months ago
2023-04-14 10:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Transform: Translate()
PCRE2 (PHP >=7.3)
Get translate transform from inline style property
Submitted by
anonymous
-
6 months ago
2023-04-14 14:21
(Last modified 6 months ago)
2023-04-14 14:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Record Date Rule (Semantic)
PCRE2 (PHP >=7.3)
Record Date Rule (Semantic)
Submitted by
Kasshyap
-
6 months ago
2023-04-15 10:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
matching filenames to episodes and/or season
PCRE2 (PHP >=7.3)
i was having a difficult time matching delimited episode names AND season names. since episodes follow: show.name.Sxx.Exx.resolution.source ...
Submitted by
Gallo S. Chingon
-
6 months ago
2023-04-16 15:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GSN
PCRE2 (PHP >=7.3)
split words to keywords
Submitted by
anonymous
-
5 months ago
2023-04-17 08:22
1
...
261
262
263
264
265
266
267
...
274
DDDD, dd MMMM
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
[
a
-
zA
-
Z
]
+
)
(
,
)
(
\d
{1,2}
)
(
)
(
[
a
-
zA
-
Z
]
+
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
nehakadam
-
8 years ago
2015-10-23 14:11