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,760 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
match time all the way up to 23:59.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-23 00:06
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
match any time before 20:05
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-22 23:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
match time before 12:35 or match 12:35 exactly
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-22 23:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
before or equal to 12:35pm
PCRE (PHP <7.3)
no description available
Submitted by
Brandon
-
7 years ago
2016-04-22 23:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Compare two comma separated 4-digit years (first must be greater)
PCRE (PHP <7.3)
Compares two comma separated 4-digit years, and if the first one is greater, a match is returned. AUTHOR: Wiktor Stribizew SO PRofile: http://stackoverflow.com/users/3832970/wiktor-stribi%C5%BCew
Submitted by
Wiktor Stribizew
-
7 years ago
2016-04-22 22:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match url
PCRE (PHP <7.3)
no description available
Submitted by
jakub
-
7 years ago
2016-04-22 16:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Проверка повтора слов
PCRE (PHP <7.3)
От начала строки, разделенных пробелом
Submitted by
DocSS
-
7 years ago
2016-04-22 13:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Add a string to a comma-separated list if not already in list
PCRE (PHP <7.3)
matches only lines that do not contain the string uses negative look arounds appends the new item always to the back suffers from a leading comma in case the list was empty
Submitted by
@ubunatic
-
7 years ago
2016-04-22 11:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Comienzo de string
PCRE (PHP <7.3)
Señala el comienzo de un string en modo multilinea
Submitted by
Juan Miguel
-
7 years ago
2016-04-22 11:03
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
-
7 years ago
2016-04-22 10:25
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
JSON recognition
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-22 07:11
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Azure ARM Parameter Override Reconstuct
PCRE (PHP <7.3)
This helps you take a list of ARM parameters where each pair is on its own line and combine them back to a single line so you can place them in VSTS's ARM template parameter override field.
Submitted by
Paul Daly
-
7 years ago
2016-04-22 04:37
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Azure ARM Template Parameter Override breakdown
PCRE (PHP <7.3)
This script helps you take the ARM template parameter override line from VSTS and break each variable combo down to its own line.
Submitted by
Paul Daly
-
7 years ago
2016-04-22 04:34
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
Select first letter of words
PCRE (PHP <7.3)
Selects first letter of space separted word with exceptions. This allows bypassing 's and such. Forcing separating charter can be set at [\s&\/] $1: separating part...
Submitted by
anonymous
-
7 years ago
2016-04-22 01:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
bb-*
PCRE (PHP <7.3)
aaa
Submitted by
wyj
-
7 years ago
2016-04-22 01:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
result range
PCRE (PHP <7.3)
Find range in lab result text
Submitted by
geoff
-
7 years ago
2016-04-21 16:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
fasting range
PCRE (PHP <7.3)
Find fasting range in lab result text
Submitted by
geoff
-
7 years ago
2016-04-21 16:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Title Case deliminator split
PCRE (PHP <7.3)
Splits words for title casing; $0[0].toUpperCase(); `
Submitted by
anonymous
-
7 years ago
2016-04-21 09:37
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Поиск процента ({число}%) в строке
PCRE (PHP <7.3)
Выражение осуществялет поиск процента в строке вида: 10% 5-17% 25-74,3% 41,6-48% 3,5-27,9%
Submitted by
Mashoshin Sergey
-
7 years ago
2016-04-21 09:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
header-tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-21 06:14
1
...
453
454
455
456
457
458
459
...
588
two words with atleast one starting with digit
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
[
\d
]
+
[
a
-
zA
-
Z
]
*
\s
+
[
a
-
zA
-
Z
]
+
\b
|
^
[
a
-
zA
-
Z
]
+
\s
+
\b
[
\d
]
+
[
a
-
zA
-
Z
]
*
\b$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2016-03-22 08:11