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
Replace ^ with Math.pow function. Not made to work with braces.
Java 8
Replaces ^ with Math.pow function call. This assumes all braces have been combined first. If you need help with the combination, I got you—try this Python algorithm: def evaluate_braces(expr): """Recursively evaluate expressions within braces""" Check if expression contains braces if '(' in...
Submitted by
Glitchii - https://github.com/Glitchii
-
2 years ago
(Last modified 2 years ago)
0
Method calls on PHP (static and not)
PCRE2 (PHP >=7.3)
Find ocurrences of method calls, static or not, on PHP.
Submitted by
Allyson
-
2 years ago
0
GST (India)
PCRE2 (PHP >=7.3)
Detects Indian GST numbers (Goods & Services Tax). Based on https://groww.in/p/tax/gstin
Submitted by
anonymous
-
2 years ago
0
CSS Class Styles
PCRE2 (PHP >=7.3)
Regex to find CSS Class Styles
Submitted by
JR
-
2 years ago
0
Match HTML tag with specific attributes
ECMAScript (JavaScript)
1
Submitted by
anonymous
-
2 years ago
1
Find passwords in logs
PCRE2 (PHP >=7.3)
Regex to find cleartext passwords in logs in various formats
Submitted by
anonymous
-
2 years ago
0
Match time HH:MM:SS or MM:SS similar to YT chapters
ECMAScript (JavaScript)
Used in JS context to extract time from string metadata aka YouTube chapters. Trailing text and chars are ignored for each new line.
Submitted by
JVE
-
2 years ago
(Last modified 2 years ago)
0
Find valid SAS names
PCRE2 (PHP >=7.3)
https://www.sfu.ca/sasdoc/sashtml/lrcon/z0998953.htm#z0998951
Submitted by
ABANTR
-
2 years ago
0
email
PCRE2 (PHP >=7.3)
validate email
Submitted by
anonymous
-
2 years ago
0
Remove all html from string
PCRE (PHP <7.3)
Remove all tags and special character such as
Submitted by
enrico mosca
-
2 years ago
0
ISO date
ECMAScript (JavaScript)
Validates a date string as a valid iso entry
Submitted by
Franco Grobler (franco199906@gmail.com)
-
2 years ago
0
Get Filename from Content-Disposition Header
PCRE2 (PHP >=7.3)
Extract Download Filename from Content-Disposition Header
Submitted by
thegass
-
2 years ago
0
URL filter out of a shell script file, inc URLs with ";"
PCRE2 (PHP >=7.3)
URL filter out of a shell script file, inc URLs with ";" in the POST part
Submitted by
MaxPeal
-
2 years ago
0
PAN Number (India)
PCRE2 (PHP >=7.3)
Format of PAN Number (issued in India)
Submitted by
anonymous
-
2 years ago
0
Regex for matching French Phone Numbers
PCRE2 (PHP >=7.3)
This is an expression that will match French Phone numbers You can modify this expression to help you match your needs.
Submitted by
anonymous
-
2 years ago
0
my_device_usage
PCRE2 (PHP >=7.3)
usage
Submitted by
Keith
-
2 years ago
0
Device_name
PCRE2 (PHP >=7.3)
doesn't process road warrior or dubi location dubii missing interface?
Submitted by
Keith
-
2 years ago
0
log filter 01
PCRE2 (PHP >=7.3)
expression for removing unnecessary information
Submitted by
ndeans
-
2 years ago
0
Company name
ECMAScript (JavaScript)
Company name
Submitted by
anonymous
-
2 years ago
0
ip address
Java 8
ip address regex
Submitted by
shyam
-
2 years ago
1
...
70
71
72
73
74
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
A
-
Z0
-
9a
-
z_&
\+\*\=\(\)\.\%\/\<\>\|\-\?\=\:\,\´\'\&\#\;
\s
àèìòù
]
{6,3000}
)
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago