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 15,240 community submitted regex patterns...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
imdb id
PCRE (PHP <7.3)
imdb
Submitted by
little badger
-
8 years ago
2015-12-21 11:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
email for .com & .co.in
ECMAScript (JavaScript)
email validation
Submitted by
Chanti
-
8 years ago
2015-12-21 05:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
HP3ParShowVVLineParse
PCRE (PHP <7.3)
parses the ssh output of a 3par SSH showvv command
Submitted by
3nbin
-
8 years ago
2015-12-20 15:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parse .so libraries from binary file
ECMAScript (JavaScript)
Multi-occurance / Multiline Match and list all ".so" files from Android APK binary.
Submitted by
Mayur Pipaliya
-
8 years ago
2015-12-20 14:12
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-19 00:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Instagram Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-18 23:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
billions and billions of $$$
PCRE (PHP <7.3)
optional commas with 2 digit cents
Submitted by
bob
-
8 years ago
2015-12-18 21:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
camelCase to hyphen-case
ECMAScript (JavaScript)
Note that title case (TitleCase) will have leading hypens (-title-case)
Submitted by
cyberbit
-
8 years ago
2015-12-18 21:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
letters and _- followed by _000999
PCRE (PHP <7.3)
no description available
Submitted by
Pizzirani Andrea - Italy
-
8 years ago
2015-12-18 08:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
sample
PCRE (PHP <7.3)
sample regression
Submitted by
anonymous
-
8 years ago
2015-12-18 04:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Singapore Phone
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-18 02:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-17 21:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
select * deio
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-17 12:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-17 11:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
-
ECMAScript (JavaScript)
hjk
Submitted by
hjk
-
8 years ago
2015-12-17 08:33
15
29 upvotes, 14 downvotes (score 52.5%) (You must be signed in to vote)
IPv4
PCRE (PHP <7.3)
no description available
Submitted by
robwa
-
8 years ago
2015-12-17 08:14
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Globality APP
PCRE (PHP <7.3)
no description available
Submitted by
globality team
-
8 years ago
2015-12-17 07:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Any Input Searches
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-16 21:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
/slug/id/
PCRE (PHP <7.3)
Match /slug/id or /slug/id/ where id is only numbers and slug only letters and -
Submitted by
Renan Cavalieri
-
8 years ago
2015-12-16 17:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find digits in float for formatting delimiter position
PCRE (PHP <7.3)
1234567 -> mathces 1 and 4. 1234567.999 -> matches 1 and 4. so you can format it to 1,234,567.999 easily JavaScript:...
Submitted by
Marvin Follmann
-
8 years ago
2015-12-16 15:52
1
...
634
635
636
637
638
639
640
...
762
Multiline shortest match
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
\b
She
\b
)
(?:
(?!
\b
(?:
she
|
loves
|
you
)
\b
)
.
)*
(
\b
loves
\b
)
(?:
(?!
\b
(?:
she
|
loves
|
you
)
\b
)
.
)*
(
\b
you
\b
)
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-12-02 02:17