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)
regex dont look pls
PCRE2 (PHP >=7.3)
asdfasdfasdg
Submitted by
anonymous
-
a year ago
2022-10-28 13:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
convert number to Lakh format
PCRE2 (PHP >=7.3)
converts a number to Lakh format, e.g: 123456789 == 12,34,56,789 breakdown: twelve crore thirty-four lakh fifty-six thousand seven hundred and eighty-nine
Submitted by
anonymous
-
a year ago
2022-10-28 10:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
printf C99
PCRE2 (PHP >=7.3)
A regex that matches the printf C99 standard
Submitted by
renardfute
-
a year ago
2022-10-28 08:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Laugh Match
PCRE2 (PHP >=7.3)
match laugh texts
Submitted by
cool66
-
a year ago
2022-10-28 01:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Trim Full Terrestrial Channel
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
a year ago
2022-10-26 10:46
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
1
...
39
40
41
42
43
44
45
...
122
find all url in <a> in html
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
<a
[^
<
]
*
href="
(
[^
"
]
+
)
"
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-09-07 20:15