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 13,000 community submitted regex patterns...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
hghdgh
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2013-10-03 10:00
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Error in Refex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2013-10-02 05:20
6
28 upvotes, 22 downvotes (score 42.3%) (You must be signed in to vote)
Matching balanced parens, brackets, and braces
PCRE (PHP <7.3)
no description available
Submitted by
Noah Luck Easterly
-
10 years ago
2013-09-29 18:23
5
12 upvotes, 7 downvotes (score 41%) (You must be signed in to vote)
Youtube ID matcher
ECMAScript (JavaScript)
Credit: https://gist.github.com/FinalAngel/1876898
Submitted by
anonymous
-
10 years ago
2013-09-29 00:48
4
8 upvotes, 4 downvotes (score 39.1%) (You must be signed in to vote)
YouTube Grabber Cleanup
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2013-09-22 15:13
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
takie
PCRE (PHP <7.3)
no description available
Submitted by
sdfsdfdsf
-
10 years ago
2013-09-21 13:49
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Simple replacing. Replaced first folder in path to file.
PCRE (PHP <7.3)
Used with Java regexp. F.e. you can use replaceAll("regexp", "filePath").
Submitted by
E.ch.
-
10 years ago
2013-09-17 14:24
5
9 upvotes, 4 downvotes (score 42.4%) (You must be signed in to vote)
Hello world !
ECMAScript (JavaScript)
no description available
Submitted by
Fedir RYKHTIK
-
10 years ago
2013-09-10 09:01
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Hello world example
PCRE (PHP <7.3)
no description available
Submitted by
Fedir RYKHTIK
-
10 years ago
2013-09-10 09:00
106
601 upvotes, 495 downvotes (score 51.9%) (You must be signed in to vote)
trim
ECMAScript (JavaScript)
trim string
Submitted by
fp
-
10 years ago
2013-09-10 08:21
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
Get Currency SYMBOL/CODE
PCRE (PHP <7.3)
no description available
Submitted by
Ka.
-
10 years ago
2013-09-09 12:46
-1
6 upvotes, 7 downvotes (score 23.2%) (You must be signed in to vote)
Finds <font> tag
PCRE (PHP <7.3)
Useful for cleaning old html code from tags
Submitted by
anonymous
-
10 years ago
2013-09-09 06:44
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Finds HTML img tags
PCRE (PHP <7.3)
no description available
Submitted by
Matt Solum
-
10 years ago
2013-09-09 02:48
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Verify and match e-mail address
PCRE (PHP <7.3)
no description available
Submitted by
Josh K
-
10 years ago
2013-09-08 13:28
-1
2 upvotes, 3 downvotes (score 11.8%) (You must be signed in to vote)
Match the ID on individual Vimeo URLs
PCRE (PHP <7.3)
no description available
Submitted by
Josh K
-
10 years ago
2013-09-08 13:04
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2013-09-07 21:02
4
14 upvotes, 10 downvotes (score 38.8%) (You must be signed in to vote)
Get stuff inside <a> tags
PCRE (PHP <7.3)
Get stuff inside tags, which are between certain words
Submitted by
Jerry
-
10 years ago
2013-09-07 18:19
1
4 upvotes, 3 downvotes (score 25%) (You must be signed in to vote)
Get inside single/double quotes
PCRE (PHP <7.3)
Get everything inside single/double quotes and ignoring escaped ones
Submitted by
Jerry
-
10 years ago
2013-09-07 18:18
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
SQL select columns
PCRE (PHP <7.3)
no description available
Submitted by
Phan
-
10 years ago
2013-09-07 13:09
-1
3 upvotes, 4 downvotes (score 15.8%) (You must be signed in to vote)
regex on paintkits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2013-08-18 15:36
1
...
645
646
647
648
649
650
I need some one to generate an regexp please
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
RegExp
(
[
0
-
9
]
)
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
Sanuvimal.Mohan@target.com
-
9 years ago
2014-10-24 16:58