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,640 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LinkedIn School Username
PCRE2 (PHP >=7.3)
x
Submitted by
anonymous
-
2 years ago
2022-01-24 20:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PCRE2 ipv6
PCRE2 (PHP >=7.3)
Some cases of ipv6 at string begin
Submitted by
anonymous
-
2 years ago
2022-01-24 22:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Database_Data_Type
PCRE2 (PHP >=7.3)
Database_Data_Type
Submitted by
anonymous
-
2 years ago
2022-01-25 14:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
General regular expressions
PCRE2 (PHP >=7.3)
General
Submitted by
Stavros
-
2 years ago
2022-01-25 16:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
nr_classe
PCRE2 (PHP >=7.3)
separação de um código numérico simples
Submitted by
anonymous
-
2 years ago
2022-01-25 21:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPv4 non zero first and last octet
PCRE2 (PHP >=7.3)
When validating an IPv4 address I often have to reject devices that the first and last octet are 0.
Submitted by
John Cutburth
-
2 years ago
2022-01-25 22:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match CamelCase
PCRE2 (PHP >=7.3)
Matches PascalCase or CamelCase
Submitted by
anonymous
-
2 years ago
2022-01-26 07:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number
PCRE2 (PHP >=7.3)
It works like it looks, a plus followed by 1 or 2 digits, followed by a standard 10 digit phone number
Submitted by
Brady Kelly
-
2 years ago
2022-01-28 05:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Street name and house number
PCRE2 (PHP >=7.3)
Checks if address given has a street name and a house number among other things
Submitted by
Bill Seremetis (bserem)
-
2 years ago
2022-01-28 21:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pleas help me select all content in div tag
PCRE2 (PHP >=7.3)
Pleas help me select all content in div tag
Submitted by
anonymous
-
2 years ago
2022-01-29 05:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pleas help me select all content in div tag
PCRE2 (PHP >=7.3)
Pleas help me select all content in div tag
Submitted by
anonymous
-
2 years ago
2022-01-29 05:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
chia plot
Golang
chia plot
Submitted by
temple
-
2 years ago
2022-01-30 02:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove duplicate lines in sorted text
Java 8
See
Submitted by
@atnbueno
-
2 years ago
2022-01-30 14:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
xrandr device line
PCRE2 (PHP >=7.3)
Device line of xrandr output
Submitted by
anonymous
-
2 years ago
2022-01-30 20:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Semantic Branch Names Regex
PCRE2 (PHP >=7.3)
https://www.conventionalcommits.org/en/v1.0.0/
Submitted by
Michael Collins
-
2 years ago
2022-01-31 00:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NSW Residential Zip Code
PCRE2 (PHP >=7.3)
The convention is found on this: https://en.wikipedia.org/wiki/Postcodes_in_Australia Values accepted: 2000—2599 2619—2899 2921—2999
Submitted by
Minh Dang
-
2 years ago
2022-01-31 08:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
חיפוש דיבור המתחיל לפי קוד פותח קוד סוגר או משהו אחר
PCRE2 (PHP >=7.3)
חיפוש דיבור המתחיל על פי קוד פותח - למשל @20 וקוד סוגר למשל קוד @50 אבל אנחנו רוצים לתפוס רק את הטקסט שלו לא כולל הקודים כמו כן אנחנו רוצים שאם יש איזה שהוא תו מסויים אחר, הוא יחשב סוף דיבור למשל F5 או AF5
Submitted by
anonymous
-
2 years ago
2022-01-31 16:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GMT Timezone
PCRE2 (PHP >=7.3)
GMT Time zone regex
Submitted by
Ashish Ambre
-
2 years ago
2022-02-04 05:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replacing URL through Hyperlink in Text
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
-
2 years ago
2022-02-04 07:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching a decimal numbers
PCRE2 (PHP >=7.3)
Matching a decimal numbers
Submitted by
anonymous
-
2 years ago
2022-02-04 08:57
1
...
67
68
69
70
71
72
73
...
132
Select everything after "=" to the end of the line
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
\=
.
*
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-06-21 19:16