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,780 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
css class
PCRE (PHP <7.3)
css class
Submitted by
anonymous
-
a year ago
2022-06-07 06:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mac address validation
PCRE2 (PHP >=7.3)
mac address validation in hex or decimal form
Submitted by
planetwatch.io
-
a year ago
2022-06-07 08:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cpf
PCRE2 (PHP >=7.3)
regex cpf
Submitted by
vcatafesta@gmail.com
-
a year ago
2022-06-08 05:31
(Last modified a year ago)
2022-06-08 05:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Flight Number Regex for Java and Tests
Java 8
A regex string to validate flight number
Submitted by
Jose Sousa
-
a year ago
2022-06-08 13:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Package from Site
PCRE2 (PHP >=7.3)
Package from Site
Submitted by
anonymous
-
a year ago
2022-06-08 19:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
-ltr --time-style='+%s'
PCRE2 (PHP >=7.3)
-ltr --time-style='+%s'
Submitted by
anonymous
-
a year ago
2022-06-09 13:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Android Logcat Command-Line-Tools
PCRE2 (PHP >=7.3)
Android logcat command line raw
Submitted by
ArnoFrost
-
a year ago
2022-06-10 03:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Android Webview
PCRE2 (PHP >=7.3)
Hopefully it can tell if it is android webview or not.
Submitted by
Alp Ates
-
a year ago
2022-06-10 08:52
(Last modified a year ago)
2022-06-10 08:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check password
PCRE (PHP <7.3)
Checks that a password has a minimum of 8 characters, at least 1 uppercase letter, 1 lowercase letter, and 1 number.
Submitted by
letrongtanbs
-
a year ago
2022-06-14 03:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Env Var
PCRE2 (PHP >=7.3)
Regex to match Env Variable whole line
Submitted by
anonymous
-
a year ago
2022-06-14 09:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password Validator
PCRE2 (PHP >=7.3)
Password validator: 6-50 symbols Minimum 1 each: Upper case letter, Lower case letter, number, special symbol (!, @, #, $, %, ^, &, *, (, ), _, +, , ?). No other symbols allowed.
Submitted by
anonymous
-
a year ago
2022-06-14 09:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP address with port
PCRE2 (PHP >=7.3)
Match ip address with port
Submitted by
PARNKOT
-
a year ago
2022-06-14 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ID File with .txt
PCRE2 (PHP >=7.3)
cmd : find -type f | grep -Eo '(.\/)+(.iRqDU1LMXL)+(.*.txt)'
Submitted by
anonymous
-
a year ago
2022-06-15 09:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RegexNumberDecimal
Java 8
For two digits in regex in decimal places two and allow two digits before that point decimal
Submitted by
anonymous
-
a year ago
2022-06-15 16:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get HTML attribute
PCRE2 (PHP >=7.3)
Get HTML attribute with /" inside
Submitted by
anonymous
-
a year ago
2022-06-16 09:59
(Last modified a year ago)
2022-06-21 06:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
4 spaces and tabs mixed indentation replace pattern
PCRE2 (PHP >=7.3)
With this expression you can easily replace the indentation from 4 spaces and tabs mixed indented file to a pure indentation.
Submitted by
hNczy
-
a year ago
2022-06-16 11:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Thai citizen
PCRE (PHP <7.3)
rule for parse thai citizen card
Submitted by
socool
-
a year ago
2022-06-17 04:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Thai credit card
PCRE (PHP <7.3)
rule for parse thai credit card
Submitted by
socool
-
a year ago
2022-06-17 04:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Thai car register
PCRE (PHP <7.3)
rule for thai registered car
Submitted by
socool
-
a year ago
2022-06-17 04:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
股票代码
PCRE2 (PHP >=7.3)
aa
Submitted by
vv
-
a year ago
2022-06-18 01:06
1
...
535
536
537
538
539
540
541
...
589
Teste
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
<
(
.
*
|
\n
)*
?
>
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
MeuChapeu
-
8 years ago
2015-06-12 13:34