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,200 community submitted regex patterns...
0
REGEX yt-dlp ID
PCRE2 (PHP >=7.3)
Get ID from plain text fromm yt-dlp
Submitted by
anonymous
-
3 years 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
-
3 years ago
0
Get anything between parentheses
PCRE (PHP <7.3)
Use to get any character, digit or space between parentheses
Submitted by
Vini Pereira
-
3 years ago
0
Function call capture group
Python
Function call capture group
Submitted by
anonymous
-
3 years 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
-
3 years ago
-1
alluse
PCRE (PHP <7.3)
/^(?P0|1-9]\d)\.(?P0|[1-9]\d)\.(?P0|[1-9]\d)(?:-(?P(?:0|[1-9]\d|\d[a-zA-Z-)(?:\.(?:0|1-9]\d|\d[a-zA-Z-))))?(?:\+(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm
Submitted by
alluse
-
3 years 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
-
3 years ago
0
Script Tag Removal.
PCRE2 (PHP >=7.3)
Removes "" tags from plain text notes.
Submitted by
anonymous
-
3 years ago
0
date range
ECMAScript (JavaScript)
.
Submitted by
anonymous
-
3 years 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
-
3 years ago
0
redirect old slugs to new
PCRE2 (PHP >=7.3)
redirect old slugs to new
Submitted by
anonymous
-
3 years ago
0
Get ip address (only ipv4) Validator
.NET 7.0 (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
3 years ago
(Last modified 3 years 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
-
3 years ago
0
match html reg
Python
match html reg
Submitted by
anonymous
-
3 years ago
0
Get ip address (only ipv6) Validator
.NET 7.0 (C#)
Get ip address (only ipv6) Validator
Submitted by
Mr.Tang
-
3 years ago
(Last modified 3 years ago)
2
Get ip address (only ipv4) Validator
.NET 7.0 (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
3 years ago
(Last modified 3 years ago)
1
Extract email username from email address
ECMAScript (JavaScript)
This workspace contains the needed ECMAScript regex for use in Cloudflare Workers Email Routing.
Submitted by
~ajhalili2006
-
3 years 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
-
3 years ago
0
Name RegEx
Python
Separate first and last names. Capitalization matters. Ignore middle initials but allow middle names. Multiple last names may be mistaken for middle names. Groups could be changed to capture middle names separately, middle initials, etc.
Submitted by
anonymous
-
3 years ago
1
Date match by CodeZ
PCRE2 (PHP >=7.3)
Matching date patterns for coursera text mining assignment 1.
Submitted by
CodeZ
-
3 years ago
(Last modified 3 years ago)
1
...
84
85
86
87
88
...
910