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 9,620 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
fix windows
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-08-30 20:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
restore protocol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-08-31 03:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
String entre parentesis dentro de comillas
PCRE (PHP <7.3)
Recoge el ultimo parentesis dentro de un campo entrecomillado
Submitted by
anonymous
-
7 years ago
2016-08-31 06:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
UK Unique Candiate Identifier (UCI)
PCRE (PHP <7.3)
Basic validation of UK student UCI numbers. Please note that further validation must be done to confirm the final character ( the 'control character') is correct: http://www.wjec.co.uk/exam-officers/entries/unique-candidate-identifiers.html
Submitted by
GeekJosh
-
7 years ago
2016-08-31 08:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular expression for IP Address Validation | Taha
PCRE (PHP <7.3)
ip address regex java,ip address regex c#,grep ip address regex,ip address regex python,ip address regex javascript,perl ip address regex,regex ip address range,whitespace in regex Feel Free To IMPROVE
Submitted by
Taha Bhutta
-
7 years ago
2016-08-31 15:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
lsyh-aem_log_entry_split
PCRE (PHP <7.3)
lsyh
Submitted by
hunagyp
-
7 years ago
2016-08-31 17:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex to validate date format yyyy/mm/dd | Taha
PCRE (PHP <7.3)
Regex to validate date format yyyy/mm/dd
Submitted by
Taha Bhutta
-
7 years ago
2016-08-31 17:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
del email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-01 06:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
figata
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-01 12:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
bjss email
PCRE (PHP <7.3)
no description available
Submitted by
Charlie Marcus
-
7 years ago
2016-09-01 14:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TODO regex
PCRE (PHP <7.3)
various types of todo annotations for meeting notes
Submitted by
anonymous
-
7 years ago
2016-09-01 14:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Port Number
PCRE (PHP <7.3)
Matches port numbers (or simply numbers between 0 - 65535)
Submitted by
anonymous
-
7 years ago
2016-09-01 14:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Image Class Test
PCRE (PHP <7.3)
Finds images that have a certain class (in this case, "foo")
Submitted by
Todd Dukart
-
7 years ago
2016-09-01 17:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match ip address @ bla.com
PCRE (PHP <7.3)
no description available
Submitted by
Marius Nilsen
-
7 years ago
2016-09-01 21:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Prompt/command/output matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-01 23:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parenthesis Non-Breaking Spaces
PCRE (PHP <7.3)
Find spaces between parenthesis and replace them with non-breaking spaces
Submitted by
Aartro
-
7 years ago
2016-09-01 23:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match PS1 & Cmd - Extract Cmd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-01 23:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-02 05:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
COMMENT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-02 05:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
perl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-02 06:10
1
...
74
75
76
77
78
79
80
...
481
Prompt/command/output matcher
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
\(
\s
*
(
[
0
-
9
]
+
)
\)\[
(
[
a
-
zA
-
Z0
-
9
\s
*:
]
*
)
\|
\s
*
(
[
0
-
9
]
{1,5}
\:
[
0
-
9
]
{3}
)
\s
*
(?:
\[
(
[
0
-
9
]
{1,3}
)
\:
[
0
-
9
]
{1,3}
\]
)?
\]\{
(
[
0
-
9
]
{1,4}
)
\}
(
[
a
-
zA
-
Z0
-
9
]
+
)
\@
(
[
a
-
zA
-
Z0
-
9
]
+
)
\:
(
.
+
)
\(
(?:
.
+
)
\)
(
[
\$
|#
]
)
\s
{1}
(
.
+
)
(
\n
(
.
+
)
)+
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 years ago
2016-09-01 23:53