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,600 community submitted regex patterns...
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
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
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
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
Basic Phone Number Verification
PCRE (PHP <7.3)
Verifies a phone number
Submitted by
anonymous
-
10 years ago
2013-08-15 21:40
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
Parse DateTimes
PCRE (PHP <7.3)
Will parse a DateTime and group the results. Probably pretty limited but it works for me.
Submitted by
martin
-
10 years ago
2013-07-26 15:31
29
70 upvotes, 41 downvotes (score 53.8%) (You must be signed in to vote)
Wrap long string to spec length
PCRE (PHP <7.3)
no description available
Submitted by
fullpipe
-
10 years ago
2013-07-21 20:34
3
13 upvotes, 10 downvotes (score 36.8%) (You must be signed in to vote)
Prime number regex
PCRE (PHP <7.3)
no description available
Submitted by
originally "Abigail", comp.lang.perl.misc
-
10 years ago
2013-07-20 21:13
1
5 upvotes, 4 downvotes (score 26.7%) (You must be signed in to vote)
Twitter Hashtags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2013-07-20 19:30
-1
4 upvotes, 5 downvotes (score 18.9%) (You must be signed in to vote)
Twitter Hashtags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2013-07-20 19:30
3
65 upvotes, 62 downvotes (score 42.6%) (You must be signed in to vote)
Match quoted strings, ignoring escaped quotes
PCRE (PHP <7.3)
Matches single or double quoted strings, and ignores backslash-escaped quotes within the string.
Submitted by
Maddingue
-
10 years ago
2013-06-26 14:28
1
...
576
577
578
579
580
ENEL T5 Mono
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
U{AA
|
AB
|
AE
|
OL
|
BA
|
BB
|
HL}
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 months ago
2023-05-11 13:35