Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
1
Validate number in format: +xxxxxxxxxxx
PCRE (PHP <7.3)
Used for number validation in input forms, when number is required to be in international format. You can adjust the required number length by adjusting this part of regex: {6,10}. The bigged the second number, the longer number will pass the match.
Submitted by
Donatas Stončius - donatas@stoncius.lt
-
9 years ago
0
find link to profile in VK html message
ECMAScript (JavaScript)
поиск в тексте всех ссылок на профили пользователей вконтакте. ссылки вида [id12345678|Name]
Submitted by
MixApp
-
9 years ago
1
get number and unit in string
ECMAScript (JavaScript)
match int or float number, and following word (unit for example)
Submitted by
Etienne Goumet
-
9 years ago
2
URL
PCRE (PHP <7.3)
Matches the URL from the text to 95 percentage
Submitted by
Harinath
-
9 years ago
3
US Zip Code
ECMAScript (JavaScript)
This pattern matches the US Postal Code format and captures the seperate parts; basic and +4.
Submitted by
anonymous
-
9 years ago
0
WOrd with colon
ECMAScript (JavaScript)
no description available
Submitted by
HJ
-
9 years ago
-2
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
9 years ago
0
Date Groupings
Python
no description available
Submitted by
flipkitty
-
9 years ago
1
Business Console
PCRE (PHP <7.3)
no description available
Submitted by
Raghunath Chilkuru
-
9 years ago
1
jjjj
PCRE (PHP <7.3)
GP \(Slim) . " .&,()-+_#* Line # & Relay/
Submitted by
anonymous
-
9 years ago
2
extract twitter username from url
ECMAScript (JavaScript)
Adopted one of answers from: http://stackoverflow.com/questions/5948051/regex-extract-twitterusername-from-url
Submitted by
anonymous
-
9 years ago
1
extract url from text
PCRE (PHP <7.3)
no description available
Submitted by
captain haddock
-
9 years ago
1
LG G3
ECMAScript (JavaScript)
LG G3 Device identifier:LG-D855, LG-D851, LG-D850, VS985 4G, LGLS990, LGUS990, LG-D852
Submitted by
guy sandler
-
9 years ago
17
Capture comma separated numbers
PCRE (PHP <7.3)
Capture comma separated numbers, no matter if there are spaces before or after the commas.
Submitted by
Fernando Nunes
-
9 years ago
-2
filter
Python
no description available
Submitted by
anonymous
-
9 years ago
-3
a
PCRE (PHP <7.3)
a
Submitted by
a
-
9 years ago
1
Console.log line deletion, multi line.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
j
PCRE (PHP <7.3)
h
Submitted by
anonymous
-
9 years ago
0
time input
PCRE (PHP <7.3)
following input formats work-- 10am to 3pm 1am - 2pm 12pm-3pm
Submitted by
anonymous
-
9 years ago
1
Pega senha entre query Mysql
PCRE (PHP <7.3)
Recupera senha de queryMysql
Submitted by
Michael
-
9 years ago
1
...
827
828
829
830
831
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?<hour>
\d
+
)
:
(?<minute>
\d
+
)
:
(?<second>
\d
+
)
,
(?<msecond>
\d
+
)
/
g
Open regex in editor
Description
Add 9 seconds to subtitle timing with Regex if feasible.
Submitted by
V.S.
-
9 years ago