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)
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 5 months ago)
2023-06-15 08:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date FR
PCRE2 (PHP >=7.3)
Date FR
Submitted by
anonymous
-
a year ago
2022-10-18 17:07
(Last modified 5 months ago)
2023-06-15 08:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex html tag
PCRE2 (PHP >=7.3)
$subject = 'asdasdsdsa'; $pattern = '^(.+)?';
Submitted by
anonymous
-
a year ago
2022-10-18 15:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
passw125
PCRE2 (PHP >=7.3)
^(?=.\d)(?=.\W)(?=.*[a-zA-Z]).{6,8}$
Submitted by
AS
-
a year ago
2022-10-18 12:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sdsds@needemand.com
PCRE2 (PHP >=7.3)
sdsds@needemand.com
Submitted by
anonymous
-
a year ago
2022-10-18 12:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Grab CalVer from git tags
PCRE2 (PHP >=7.3)
When using git ls-remote --tags --sort=version:refname, the results display the git hash as well as a refs prefix. This regex grabs only the CalVer string.
Submitted by
John Obla
-
a year ago
2022-10-18 11:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Chinese Phone Number
PCRE2 (PHP >=7.3)
匹配中国🇨🇳大陆手机号码
Submitted by
Akko
-
a year ago
2022-10-18 09:20
1
...
39
40
41
42
43
44
45
...
122
Obtener nombre
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<=
"ctl00_ContentPlaceHolder1_lblNombre">
)
[
0
-
9a
-
zA
-
Z
\s
+
\/
,.()
]
+
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-09-15 14:41