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 12,600 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
WiKi Links without Headers
PCRE (PHP <7.3)
Includes Words, Digits, White Spaces, (, ), :, -, _
Submitted by
anonymous
-
3 years ago
2020-11-16 23:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Swing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-16 22:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Wiki Links Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-16 21:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Capturing everything up until the first _ or -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-16 21:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Basis-Tricks with capture group-Create and exclude
PCRE (PHP <7.3)
Create capture group - between (), and it shall not be a command Exclude capture group - write the pattern or the exact text/syntax without being sorrounded with ()
Submitted by
anonymous
-
3 years ago
2020-11-16 20:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Drupal cid from URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-16 18:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Basis - Replace using Capture Groups
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-16 15:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Essai
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-16 14:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email Validation
PCRE (PHP <7.3)
basic email validation
Submitted by
anonymous
-
3 years ago
2020-11-16 04:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extraction de la quantité d'unités dans Open Food Facts
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-15 21:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Youtube link
PCRE (PHP <7.3)
Short or long. Without channel, playlist and any other options
Submitted by
anonymous
-
3 years ago
2020-11-15 20:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password validation
PCRE (PHP <7.3)
Regex password validation (Basic)
Submitted by
anonymous
-
3 years ago
2020-11-15 18:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Поиск неточных совпадений 001
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-15 17:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ES6 to ESM part 2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-15 15:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ES6 to ESM part 1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-15 15:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
remove mentions and hashtags tweet
PCRE (PHP <7.3)
Remove user mentions and hashtags from the tweet data text
Submitted by
anonymous
-
3 years ago
2020-11-14 05:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Basic URI matching
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-13 14:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
övn 7 -17/11 - https://Ihm.se
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-13 11:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
17/11 - övning 7
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-13 11:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
17/11 - övning 6
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
2020-11-13 11:08
1
...
72
73
74
75
76
77
78
...
630
Regex to Split string by comma but exclude comma in brackets parentheses
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
,
(?!
\d
+
\)
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2020-11-09 10:27