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 11,560 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OmegaT
Java 8
regular expressions used in OmegaT
Submitted by
anonymous
-
7 months ago
2023-02-10 08:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL Validator (HTTP and HTTPS)
PCRE (PHP <7.3)
Validate one URL HTTP and HTTPS
Submitted by
Joaquim
-
7 months ago
2023-02-09 03:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mysite
PCRE (PHP <7.3)
Hello
Submitted by
anonymous
-
7 months ago
2023-02-09 03:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Name with title
PCRE2 (PHP >=7.3)
Name with title
Submitted by
anonymous
-
7 months ago
2023-02-09 00:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
7 months ago
2023-02-08 21:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CURDEPTH\([^0].*\)
PCRE2 (PHP >=7.3)
CURDEPTH\(.*\)
Submitted by
anonymous
-
7 months ago
2023-02-08 20:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BACassetList
PCRE2 (PHP >=7.3)
Find CMS asset entries in HTML "Table"
Submitted by
anonymous
-
7 months ago
2023-02-08 15:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find specific property of angular component
PCRE2 (PHP >=7.3)
This can be used in vscode to search in your repo if a property has been used in your component. name of component: it-grid name of property selectedItems
Submitted by
Salmin
-
7 months ago
2023-02-08 15:10
(Last modified 7 months ago)
2023-02-08 15:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove Whitespace
PCRE2 (PHP >=7.3)
no more whitespace
Submitted by
Me
-
7 months ago
2023-02-08 12:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ipv4
PCRE2 (PHP >=7.3)
To check IPv4
Submitted by
anonymous
-
7 months ago
2023-02-08 08:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email
PCRE2 (PHP >=7.3)
This is used for simple email validation
Submitted by
Pritesh
-
7 months ago
2023-02-08 08:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Select Content Between Two Strings
PCRE2 (PHP >=7.3)
e.g. style="SOMECSS"
Submitted by
anonymous
-
8 months ago
2023-02-07 14:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MBI Regex
PCRE (PHP <7.3)
validates against the MBI format published by CDC
Submitted by
i410hlr
-
8 months ago
2023-02-07 13:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse arguments
PCRE (PHP <7.3)
Parse arguments
Submitted by
Ofir Yariv
-
8 months ago
2023-02-07 12:36
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
phone
PCRE2 (PHP >=7.3)
regex for phone
Submitted by
anonymous
-
8 months ago
2023-02-07 09:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
links
PCRE2 (PHP >=7.3)
links validation
Submitted by
ahmedfawzi
-
8 months ago
2023-02-06 19:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Validator
PCRE2 (PHP >=7.3)
Email validator.
Submitted by
anonymous
-
8 months ago
2023-02-06 17:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
^[-0-9\.,]+$
PCRE2 (PHP >=7.3)
123.456.789,00 -123.456.789,00
Submitted by
anonymous
-
8 months ago
2023-02-06 12:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
수량자 실습
PCRE2 (PHP >=7.3)
수량자 실습
Submitted by
ASJ
-
8 months ago
2023-02-06 08:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove Json sub-element
PCRE2 (PHP >=7.3)
Remove sub-element from a json
Submitted by
hafizotz
-
8 months ago
2023-02-05 07:39
1
...
24
25
26
27
28
29
30
...
578
Mobile Number (with country code)
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
\+
?
[
0
-
9
]
{0,3}
-
?
[
0
-
9
]
{7,10}
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Ashutosh Mishra
-
10 months ago
2022-12-05 11:06