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 4,520 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL starts with HTTP/HTTPS
PCRE2 (PHP >=7.3)
Check URL starts with HTTP/HTTPS and has content after (e.g. https://www.test.com)
Submitted by
anonymous
-
3 years ago
2021-05-05 14:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex pattern for numeric values
Python
Positive number !
Submitted by
Cheikh Saab Bouh SOW
-
3 years ago
2021-05-05 13:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL and mailto
PCRE2 (PHP >=7.3)
RegExp to match valid URL of http://, https://, ftp://, and mailto: protocols
Submitted by
Sergey Klinov
-
3 years ago
2021-05-05 08:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
2 output
PCRE2 (PHP >=7.3)
第1篇 正则表达式基础 第1章 外行看正则表达式 1.1 什么是正则表达式 1.2 本书使用的测试工具 1.3 理解元字符 1.3.1 匹配位置的元字符...
Submitted by
George_01
-
3 years ago
2021-05-05 05:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Log Data Parsing
Golang
parse log data
Submitted by
anonymous
-
3 years ago
2021-05-04 04:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
validate tlf
PCRE2 (PHP >=7.3)
Validate tlf
Submitted by
anonymous
-
3 years ago
2021-05-01 17:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Detecting CJK Chars in Golang!
Golang
Detecting CJK Chars in Golang!
Submitted by
anonymous
-
3 years ago
2021-05-01 11:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Capture api endpoint name
PCRE2 (PHP >=7.3)
matches someApiName in someApiNameApi
Submitted by
anonymous
-
3 years ago
2021-04-30 22:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HMR siprec MIME
PCRE2 (PHP >=7.3)
siprec
Submitted by
anonymous
-
3 years ago
2021-04-30 16:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
blogtag for dave
PCRE2 (PHP >=7.3)
regex for urls
Submitted by
Yaron
-
3 years ago
2021-04-28 22:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valor Dinheiro
Python
Validar um valor em dinheiro
Submitted by
anonymous
-
3 years ago
2021-04-28 12:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Identity Number Format for Turkey
PCRE2 (PHP >=7.3)
This format is just for precheck use. It will not validate completely. If you want for more validation you should call webservices.
Submitted by
mbaysal
-
3 years ago
2021-04-28 04:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
parágrafo com estilos e data
PCRE2 (PHP >=7.3)
]*>((0?[1-9]|12|3[01])\/\-|1[012])[\/\-]\d{4})
Submitted by
anonymous
-
3 years ago
2021-04-27 20:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
nvm help pattern
PCRE2 (PHP >=7.3)
work in progress! :)
Submitted by
anonymous
-
3 years ago
2021-04-27 16:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL path element match (case-insensitive)
PCRE2 (PHP >=7.3)
A regular expression that matches a specific path element in an URL (case-insensitive). Useful for apache LocationMatch-Direktive, e.g. ``
Submitted by
René Link
-
3 years ago
2021-04-27 07:35
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
regex_crossover_restructure/renové
Python
guif
Submitted by
guif
-
3 years ago
2021-04-26 20:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex_crossover_programme_neuf/restructuré
Python
guif
Submitted by
guif
-
3 years ago
2021-04-26 19:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match any character and number
PCRE2 (PHP >=7.3)
Submitted by
igorgcustodio
-
3 years ago
2021-04-26 16:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Chtoby rukami sorok pyat failov ne huiarit
PCRE2 (PHP >=7.3)
Normalno
Submitted by
anonymous
-
3 years ago
2021-04-26 15:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Markdown Custom Quote
PCRE2 (PHP >=7.3)
Matching Markdown Custom Quote
Submitted by
TriDiamond
-
3 years ago
2021-04-26 14:48
1
...
125
126
127
128
129
130
131
...
226
National Insurance Number regular expression
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?!
BG
|
GB
|
KN
|
NK
|
NT
|
TN
|
ZZ
)
[^
DFIQUV
]
[^
DFIQUVo
]
[
0
-
9
]
{6}
[
ABCD
]
$
/
img
Open regex in editor
Description
Loading markdown...
Submitted by
Iftakhar Husan
-
3 years ago
2021-03-20 22:05