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,000 community submitted regex patterns...
0
Email id extraction
Python
extracting email id from given string
Submitted by
anonymous
-
2 years ago
0
CSS font-face rules for embedded webfonts (base64-encoded woff/woff2)
ECMAScript (JavaScript)
var FONTFACE_PATTERN = /(?:^|)(?:(?<=(?:font-family[:] ?))'"['"]|(?<=(?:font-weight[:])) ?(.+?)|(?<=(?:font-style[:])) ?(.+?)|(?<=src: ?url[(])(?:['"]?data:(.+?);,[,])(.+?)(?:['"]?[)])(?:[\n\s ]?format((\S+)'"])?)(?:;)(?:|$)/mdg Rudimentary pattern for matching base64-embedded webfonts in CSS style...
Submitted by
Nicholas Berlette (@nberlette)
-
2 years ago
0
域名规则
ECMAScript (JavaScript)
域名规则
Submitted by
anonymous
-
2 years ago
0
中英文、数字、全角符号的验证正则
PCRE2 (PHP >=7.3)
匹配中、英文、数字、全角符号,破折号和下滑线,不匹配除了这些以外的其他字符
Submitted by
nihuge
-
2 years ago
0
Regax for validate any variable string
PCRE2 (PHP >=7.3)
Regax for validate any variable string
Submitted by
Chandan
-
2 years ago
0
phone number matcher
Java 8
phone number matcher
Submitted by
anonymous
-
2 years ago
0
Parse m3u8 IPTV playlist
PCRE2 (PHP >=7.3)
$1 or $channel = channel name $2 or $bullshit = text to ignore $3 or $url = channel url "HD" inside of `` group is search string to find all channels (with their urls) which names contain it. Feel free to play around with it.
Submitted by
https://axenov.dev
-
2 years ago
0
css class
PCRE (PHP <7.3)
css class
Submitted by
anonymous
-
2 years ago
0
mac address validation
PCRE2 (PHP >=7.3)
mac address validation in hex or decimal form
Submitted by
planetwatch.io
-
2 years ago
0
Parsing text between '[' and ']' unlimited number of times
Python
Using capturing group to match any text between [ and ] Test string '([Total Revenue] + [COGS] + [Distribution Costs] + [Sales Force Costs] + [A&P Costs] + [NDA Affairs Costs] + [Other Operating Costs]) * - [NDA share]'
Submitted by
anonymous
-
2 years ago
0
cpf
PCRE2 (PHP >=7.3)
regex cpf
Submitted by
vcatafesta@gmail.com
-
2 years ago
(Last modified 2 years ago)
0
SAFE Parsing
Python
Parsing data in SAFE text file
Submitted by
anonymous
-
2 years ago
0
Flight Number Regex for Java and Tests
Java 8
A regex string to validate flight number
Submitted by
Jose Sousa
-
2 years ago
0
提取js中的内容
Python
获取变量值等
Submitted by
anonymous
-
2 years ago
0
Package from Site
PCRE2 (PHP >=7.3)
Package from Site
Submitted by
anonymous
-
2 years ago
0
Procurar por IPv4
Python
Match em um IPv4 válido
Submitted by
anonymous
-
2 years ago
0
Find lines with more than two dots
ECMAScript (JavaScript)
more than two dots
Submitted by
Leonard Deutsch
-
2 years ago
0
-ltr --time-style='+%s'
PCRE2 (PHP >=7.3)
-ltr --time-style='+%s'
Submitted by
anonymous
-
2 years ago
0
Android Logcat Command-Line-Tools
PCRE2 (PHP >=7.3)
Android logcat command line raw
Submitted by
ArnoFrost
-
2 years ago
0
Android Webview
PCRE2 (PHP >=7.3)
Hopefully it can tell if it is android webview or not.
Submitted by
Alp Ates
-
2 years ago
(Last modified 2 years ago)
1
...
496
497
498
499
500
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
(
[
0
-
9A
-
Fa
-
f
]
{2}
[
:-
]
){5}
(
[
0
-
9A
-
Fa
-
f
]
{2}
)
)
|
(
(
[
0
-
9
]
{2,3}
[
:-
]
){5}
(
[
0
-
9
]
{2,3}
)
)
)
/
gm
Open regex in editor
Description
mac address validation in hex or decimal form
Submitted by
planetwatch.io
-
2 years ago