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,040 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
srt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2014-02-24 17:49
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Splits jquery selector, 2nd part is selector of last element
ECMAScript (JavaScript)
no description available
Submitted by
Uzair Farooq
-
10 years ago
2014-02-24 16:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
example regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2014-02-24 07:51
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
parse SQL statements and get values
PCRE (PHP <7.3)
but it does not work. How do I make it work? It will be used in C#
Submitted by
anonymous
-
10 years ago
2014-02-22 04:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match up to -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2014-02-19 17:08
0
5 upvotes, 5 downvotes (score 23.7%) (You must be signed in to vote)
Improved regex101 ID grabber (fixed)
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
10 years ago
2014-02-17 22:09
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
IMAP Status Response with MESSAGE and UNSEEN count
PCRE (PHP <7.3)
Matches the folder name (as IMAP ATOM, Quoted String or Literal String) and folder message total and unseen count.
Submitted by
Mike Johnson
-
10 years ago
2014-02-17 17:29
1
4 upvotes, 3 downvotes (score 25%) (You must be signed in to vote)
a^n b^n
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
10 years ago
2014-02-16 20:01
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Divisible by 3 numbers
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
10 years ago
2014-02-16 19:58
1
6 upvotes, 5 downvotes (score 28%) (You must be signed in to vote)
Phone numbers matcher
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
10 years ago
2014-02-16 14:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Singular or Plural
ECMAScript (JavaScript)
no description available
Submitted by
Gavin Jackson
-
10 years ago
2014-02-13 17:03
-4
1 upvotes, 5 downvotes (score 3%) (You must be signed in to vote)
Date with this format YYYY-MM-DD and year start 20 or 21
PCRE (PHP <7.3)
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014
Submitted by
cisc0
-
10 years ago
2014-02-11 10:22
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Date with this format YYYY-MM-DD and year start 20 or 21
PCRE (PHP <7.3)
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014-12-12
Submitted by
cisc0
-
10 years ago
2014-02-11 10:16
2
6 upvotes, 4 downvotes (score 31.3%) (You must be signed in to vote)
US and Canada Regex
ECMAScript (JavaScript)
A zipcode regex for validation of both US and Canada
Submitted by
Kyle M.
-
10 years ago
2014-02-10 20:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Switzerland UID id
PCRE (PHP <7.3)
matches the Swiss government's UID id for enterprises
Submitted by
marcel
-
10 years ago
2014-02-10 12:22
0
3 upvotes, 3 downvotes (score 18.8%) (You must be signed in to vote)
decimal numbers
PCRE (PHP <7.3)
match decimal numbers with sign
Submitted by
mariano_dm
-
10 years ago
2014-02-08 01:52
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Filter IP from beggin of log
PCRE (PHP <7.3)
no description available
Submitted by
W
-
10 years ago
2014-02-07 13:34
-1
4 upvotes, 5 downvotes (score 18.9%) (You must be signed in to vote)
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2014-02-07 06:19
-2
4 upvotes, 6 downvotes (score 16.8%) (You must be signed in to vote)
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2014-02-07 06:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
WanaKana.js to AutoHotKey hack
PCRE (PHP <7.3)
Doesn't port to AHK cleanly but it's a start
Submitted by
TheNinth
-
10 years ago
2014-02-04 10:29
1
...
743
744
745
746
747
748
749
...
752
Are* Device (iOS)
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
iPhone;
CPU
(
[^
)
]
+
)
like
Mac
OS
/
gi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-05-30 19:12