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 2,440 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
^[가-힣a-zA-Z\d\-_\/\~\!\@\#\$\%\^\&\*\(\)\+\?\[\] ]+
PCRE2 (PHP >=7.3)
^[가-힣a-zA-Z\d\-_\/\~\!\@\#\$\%\^\&\*\(\)\+\?\[\] ]+
Submitted by
anonymous
-
a year ago
2022-10-26 01:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
4 Groups from JSON
PCRE2 (PHP >=7.3)
4 Groups from JSON
Submitted by
Erik Leiren
-
a year ago
2022-10-25 05:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get !Aphanumeric character
PCRE2 (PHP >=7.3)
get regex
Submitted by
Rafaella Cintra
-
a year ago
2022-10-24 19:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Liferay-Portal version extract
PCRE2 (PHP >=7.3)
Liferay-Portal version extract
Submitted by
anonymous
-
a year ago
2022-10-24 17:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL
PCRE2 (PHP >=7.3)
scheme host port path query
Submitted by
anonymous
-
a year ago
2022-10-24 09:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Starts with year in range 2016 to 2050
PCRE2 (PHP >=7.3)
Starts with a year in the range of 2016 to 2050
Submitted by
Abhi Reddy
-
a year ago
2022-10-23 22:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Prime NG upgrade
PCRE2 (PHP >=7.3)
Prime NG grid upgrade from 9 to 14
Submitted by
anonymous
-
a year ago
2022-10-23 19:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
goodreads published year dump
PCRE2 (PHP >=7.3)
this can be use to dump you book info
Submitted by
Sjoerd
-
a year ago
2022-10-23 08:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML Tag Matcher
PCRE2 (PHP >=7.3)
Matches html tags [new update]
Submitted by
cool66
-
a year ago
2022-10-23 04:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Email
PCRE2 (PHP >=7.3)
Matches email.
Submitted by
cool66
-
a year ago
2022-10-23 04:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Word
PCRE2 (PHP >=7.3)
match words
Submitted by
e
-
a year ago
2022-10-22 04:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Word Match
PCRE2 (PHP >=7.3)
Matches Word
Submitted by
cool66
-
a year ago
2022-10-22 03:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JavaScript Array
PCRE2 (PHP >=7.3)
Matches items in a JavaScript Array
Submitted by
me
-
a year ago
2022-10-22 03:22
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Task 4 Quiz
PCRE2 (PHP >=7.3)
It needs a major modification, since matching an integer is required. The accepted answer \d+ involves only "positive" integers. But -333 or +777 are also integers, which leads to two possible solutions with the last one being the most accurate: -?\d+ : The hyphen (optional minus sign) and a digit ...
Submitted by
seQuienSoy
-
a year ago
2022-10-21 23:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove domains in email addresses after @
PCRE2 (PHP >=7.3)
Remove domains in email addresses after @
Submitted by
anonymous
-
a year ago
2022-10-21 14:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BSDS regex example 1
PCRE2 (PHP >=7.3)
Part of a training course
Submitted by
Coppelia
-
a year ago
2022-10-20 09:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex EKS Logs
PCRE2 (PHP >=7.3)
This Just For Test
Submitted by
JuniYadi
-
a year ago
2022-10-19 08:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Initial Ceros and Grouping Characters
PCRE2 (PHP >=7.3)
remove what title says
Submitted by
anonymous
-
a year ago
2022-10-19 01:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Myliberary
PCRE2 (PHP >=7.3)
Page to be the first place of African and the horns and knowledge of the first place of ethiopia What time mashilla first place on mobile devices At one
Submitted by
anonymous
-
a year ago
2022-10-19 00:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date EN
PCRE2 (PHP >=7.3)
Date EN
Submitted by
anonymous
-
a year ago
2022-10-18 17:07
(Last modified 6 months ago)
2023-06-15 08:33
1
...
39
40
41
42
43
44
45
...
122
Pretty URLs: match ugly URL tails
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
\/
(
index
(
\.
.
+
)?
)?
)
|
(
\.
.
{2,4}
)
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
DM
-
a year ago
2022-09-15 21:04
(Last modified a year ago)
2022-09-15 21:05