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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,660 community submitted regex patterns...
0
Azure Firewall Nat traffic
PCRE2 (PHP >=7.3)
Azure Firewall Nat traffic
Submitted by
anonymous
-
a year ago
0
Azure Firewall traffic Logs
PCRE2 (PHP >=7.3)
Azure Firewall traffic Logs
Submitted by
anonymous
-
a year ago
0
Function Call
PCRE2 (PHP >=7.3)
Identify the functional call in a stack trace
Submitted by
anonymous
-
a year ago
0
IPv6 address validation
PCRE2 (PHP >=7.3)
address validation from the first two segments of an IPv6 address
Submitted by
@unblog
-
a year ago
0
IPv4 address validation
PCRE2 (PHP >=7.3)
validation of IPv4 addresses
Submitted by
@unblog
-
a year ago
0
regex for gsub (combine value)
PCRE2 (PHP >=7.3)
xx
Submitted by
anonymous
-
a year ago
0
Grupos
PCRE2 (PHP >=7.3)
grupos
Submitted by
anonymous
-
a year ago
0
parse named values
PCRE2 (PHP >=7.3)
ok
Submitted by
anonymous
-
a year ago
0
Strict URL Validation - 2
PCRE2 (PHP >=7.3)
https://regex101.com/ https://www.cloudways.com/blog/prevent-laravel-xss-exploits/ https://cloudways.com
Submitted by
Adwin
-
a year ago
0
CPF Number Repetition
Java 8
It matches CPF (Cadastro de Pessoa FĂsica) with all digits as the same number. Since CPF consists in a pattern ###.###.###-##, or ###########, and # being a single digit, this document cannot have all the 11 (eleven) digits as the same number. Therefore 000.000.000.000-00 would not be an example o...
Submitted by
TheRockSaysOP
-
a year ago
(Last modified a year ago)
0
regex to prevent special charecters and allow white spaces
PCRE2 (PHP >=7.3)
regex to prevent special charecters and allow white spaces for your string
Submitted by
anonymous
-
a year ago
0
Checking time for AM/PM format
PCRE2 (PHP >=7.3)
Support both capital and small letters, could be 01:00AM of 1:00AM
Submitted by
VS
-
a year ago
0
redirect old slugs to new
PCRE2 (PHP >=7.3)
redirect old slugs to new
Submitted by
anonymous
-
a year ago
0
Hightlight pipe regex
PCRE2 (PHP >=7.3)
A regex to find a searchQuery inside html But not: inside tag inside tag indide href of tag
Submitted by
Robair
-
a year ago
0
Script Tag Removal.
PCRE2 (PHP >=7.3)
Removes "" tags from plain text notes.
Submitted by
anonymous
-
a year ago
0
match name and surname in a name.surname@domain.com email.
Java 8
This will match any words that show up before the @ sign in an email. Digits, dots, commasz and other special characters are ignored.
Submitted by
WojciechW
-
a year ago
0
Javascript HTTP URL Validation
PCRE2 (PHP >=7.3)
Use to validate basic website URLs with or without http://. I took bits and pieces of other regexes I found and compiled into one that worked well for my purposes.
Submitted by
Daniel Ecker
-
a year ago
0
unit selector regex
PCRE2 (PHP >=7.3)
This regex can be used to select SI units of gallon, litres, kilograms, kilometres, pounds.
Submitted by
anonymous
-
a year ago
0
REGEX yt-dlp ID
PCRE2 (PHP >=7.3)
Get ID from plain text fromm yt-dlp
Submitted by
anonymous
-
a year ago
0
XTrim
PCRE2 (PHP >=7.3)
Remove spaces at the beginning and end of a sentence. It also replaces N consecutive spaces with a single one.
Submitted by
abrittaf
-
a year ago
1
...
80
81
82
83
84
...
133
IPv4 address validation
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
$
/
gm
Open regex in editor
Description
validation of IPv4 addresses
Submitted by
@unblog
-
a year ago