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,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find between
PCRE (PHP <7.3)
find between
Submitted by
anonymous
-
a year ago
2022-05-20 15:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find between 2 strings
PCRE2 (PHP >=7.3)
find between 2 strings
Submitted by
anonymous
-
a year ago
2022-05-20 15:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Select links comment
PCRE2 (PHP >=7.3)
I have a lot of code that looks like this: Sometimes I wanna search for it. Helps me find instances of it in my code.
Submitted by
charliecalvert
-
a year ago
2022-05-20 16:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Drealth
PCRE2 (PHP >=7.3)
just a normal text to the drealth emojis
Submitted by
NobreHD
-
a year ago
2022-05-22 14:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配邮箱
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by
Lintao
-
a year ago
2022-05-23 06:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Normal URL
PCRE2 (PHP >=7.3)
Validates that all necessary parts of a "normal" domain are there (scheme, subdomain, secondary-level domain, top-level domain) and allows for additional subdirectories. Does not work for options like "mailto: example@email.com" or anything that does not stick to a typical web address URL.
Submitted by
Alexa J.
-
a year ago
2022-05-24 13:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TTB fund acc 1
PCRE2 (PHP >=7.3)
my work space
Submitted by
anonymous
-
a year ago
2022-05-25 04:59
(Last modified a year ago)
2022-05-25 05:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extraire les informations du chemin d'une photo
PCRE (PHP <7.3)
Extraire les informations du chemin d'une photo.
Submitted by
Nicolas
-
a year ago
2022-05-27 17:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
大盘响应数据截取
PCRE2 (PHP >=7.3)
"https://finance.sina.com.cn/stock/"的响应数据 格式为-> var hq_str_s_sh000001="上证指数,3094.668,-128.073,-3.97,436653,5458126";
Submitted by
anonymous
-
a year ago
2022-05-29 10:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse binomial expression input
PCRE2 (PHP >=7.3)
Parse the binomial expression input
Submitted by
nil
-
a year ago
2022-05-29 12:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BIOS
PCRE2 (PHP >=7.3)
/
Submitted by
Pang Chin Pok
-
a year ago
2022-05-30 14:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
joplinapp inline tasks
PCRE2 (PHP >=7.3)
first get: duedate
Submitted by
anonymous
-
a year ago
2022-05-30 14:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match 2 Consecutive Characters
PCRE2 (PHP >=7.3)
Matches two consecutive characters. E.g. Applying match to, 'OOOO P' results in matches of, '~O'.
Submitted by
Matthew Hiebing
-
a year ago
2022-05-30 17:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get every first letter of each word
PCRE2 (PHP >=7.3)
Get every first letter of each word
Submitted by
anonymous
-
a year ago
2022-05-31 01:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
1
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
a year ago
2022-05-31 15:47
(Last modified a year ago)
2022-05-31 16:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
3
PCRE2 (PHP >=7.3)
3
Submitted by
anonymous
-
a year ago
2022-05-31 18:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse OFX date / date-time
PCRE2 (PHP >=7.3)
Parses an Open Financial Exchange date or date-time string as specified in "3.2.8.1 Dates, Times, and Time Zones" of the OFX Banking Specification, Version 2.3 October 2020.
Submitted by
Bryce Marshall
-
a year ago
2022-06-01 01:15
(Last modified a year ago)
2022-06-01 04:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ИНН
PCRE2 (PHP >=7.3)
Проверка правильности кадастрового номера
Submitted by
Virenbar
-
a year ago
2022-06-01 11:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
СНИЛС
PCRE2 (PHP >=7.3)
Проверка формата СНИЛС
Submitted by
Virenbar
-
a year ago
2022-06-01 11:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
СНИЛС укороченный
PCRE2 (PHP >=7.3)
Более компактный шаблон для проверки СНИЛС
Submitted by
anonymous
-
a year ago
2022-06-01 14:01
1
...
526
527
528
529
530
531
532
...
577
For justin
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
[
\d
]
+
[
\s
]
[
\w
]
+
[
\s
^
]
[
\w
]
+
\.
?
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-05-10 23:11