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...
4
Equation matching (without equal)
Python
use this to get value of any side of an equation. You can combine this with https://regex101.com/r/fH5kJ1/1
Submitted by
Kerosene2000
-
9 years ago
4
Roman numeral detector
PCRE (PHP <7.3)
Detects valid Roman numerals (up to 3999), and splits into 4 capture groups: thousands, hundreds, tens, and units.
Submitted by
Terence Linnell
-
9 years ago
1
Function with n parameters in C-like syntax.
PCRE (PHP <7.3)
no description available
Submitted by
elkamarado@gmail.com
-
9 years ago
2
URL
PCRE (PHP <7.3)
Matches the URL from the text to 95 percentage
Submitted by
Harinath
-
9 years ago
2
Spanish telephone number
ECMAScript (JavaScript)
Teléfonos del territorio de España. Se admiten teléfono de 9 cifras que empiecen por 9, 7 ó 6. Opcionalmente puede tener el prefijo de país siendo válidas las siguientes opciones: (+34) (0034) +34 0034 ...
Submitted by
toyeca
-
9 years ago
2
Replace REM by blank
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
full split URL by domain, path, params
ECMAScript (JavaScript)
no description available
Submitted by
memboc
-
9 years ago
3
HH:MM:SS
ECMAScript (JavaScript)
Validates 00:00:00 to 23:59:59
Submitted by
anonymous
-
9 years ago
4
Epic EHR Sticker QR code patient information
PCRE (PHP <7.3)
Text output produced by reading the QR code present on patient stickers created by Epic (R) medical record software
Submitted by
MeWa
-
9 years ago
1
Wikipedia anchor
ECMAScript (JavaScript)
Match Wikipedia anchor dot-instead-of-percent encoding string.replace(/((?:\.[a-f0-9]{2}){2})/ig, function(match) { return decodeURIComponent(match.replace(/\./g, '%')) });
Submitted by
anonymous
-
9 years ago
3
youtube id und link
ECMAScript (JavaScript)
no description available
Submitted by
ogerly
-
9 years ago
2
Grab all hyperlinks
PCRE (PHP <7.3)
no description available
Submitted by
Josh Bourke
-
9 years ago
2
SSN
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
URL Regex (protocol strict)
ECMAScript (JavaScript)
Includes resource strings, taken from here: https://gist.github.com/dperini/729294
Submitted by
Diego Perini
-
9 years ago
4
TV series season and episode names
PCRE (PHP <7.3)
This regex matches against season and series names
Submitted by
mikey
-
9 years ago
4
Typescript - /// <reference path="..."/> Expression
ECMAScript (JavaScript)
Finds Typescript's reference path syntax.
Submitted by
Lovelidge, Shawn
-
9 years ago
2
Twitter user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Twitter user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
1
Google Plus user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Google Plus user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
1
one decimal validation
ECMAScript (JavaScript)
this regular expression allow numbers with one number from 1 to 5 and only one decimal value Onlys accept numeric values from 1.0 to 5
Submitted by
anonymous
-
9 years ago
4
Remove common numeric suffixes (eg: 40m, 60%)
PCRE (PHP <7.3)
Usage: "40%".replace(/\b([\d\.]+)mkb%/ig, '$1')
Submitted by
anonymous
-
9 years ago
1
...
19
20
21
22
23
...
902
Community Library Entry
1
Regular Expression
Golang
`
^
[
A
-
Za
-
z0
-
9
\-
]
{5,30}
$
`
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago