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...
0
Filtre underscore
PCRE (PHP <7.3)
Filtre : split on underscore
Submitted by
herve_p
-
8 years ago
0
test
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
8 years ago
0
Person Name
PCRE (PHP <7.3)
One or more words, separated by one space. Allowed letters from any alphabet, dashes, dots and spaces (not more than one successively). Must begin with a letter and end with a letter or dot.
Submitted by
kostya
-
7 years ago
0
Restreindre scripts SQL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Select from "Member Data Documentation" until final "}"
PCRE (PHP <7.3)
Select from "Member Data Documentation" until final "}"
Submitted by
anonymous
-
8 years ago
0
From "Classes" until "Detailed Description"
PCRE (PHP <7.3)
From "Classes" until "Detailed Description"
Submitted by
anonymous
-
8 years ago
0
Remove Header Rows
PCRE (PHP <7.3)
Removes the first n rows of a file
Submitted by
Raphael Bögel
-
8 years ago
0
Extract Plain Text from HTML <td> Cell Tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Degrees Minutes Seconds
PCRE (PHP <7.3)
Checks DMS given in Latitude / Longitude order
Submitted by
Anthony Giles
-
8 years ago
0
Degrees Minutes Seconds
PCRE (PHP <7.3)
Checks DMS given in Longitude / Latitude order
Submitted by
Anthony Giles
-
8 years ago
0
Decimal Degrees - Lat Long format
PCRE (PHP <7.3)
no description available
Submitted by
Anthony Giles
-
8 years ago
0
Degrees Decimal Minutes - Lat Long Format
PCRE (PHP <7.3)
no description available
Submitted by
Anthony Giles
-
8 years ago
0
Simple ES5 to ES6 Shorthand Function notation
PCRE (PHP <7.3)
Converts standard function(a,b) function notation into (a, b) => { shorthand for ES6.
Submitted by
Simon Poole
-
8 years ago
0
MyTelephoneNumberRegex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
PasswordVerification
PCRE (PHP <7.3)
Password expresion that requires one lower case letter, one upper case letter, one digit, 6-13 length and must start with a* letter.*
Submitted by
anonymous
-
8 years ago
0
Shortening Names: Capture a group between a white space and a comma.
PCRE (PHP <7.3)
For shortening names.
Submitted by
anonymous
-
8 years ago
0
Shortening Names: Erase everything between a white space and a comma.
PCRE (PHP <7.3)
This is useful for shortening names.
Submitted by
mglezsauri@gmail.com
-
8 years ago
0
Shorten Names: Delete everything but the First and Second Last Name
PCRE (PHP <7.3)
Useful for deleting extra last names before a comma.
Submitted by
mglezsauri@gmail.com
-
8 years ago
0
Shorten Names: Keep only one name before a comma.
PCRE (PHP <7.3)
no description available
Submitted by
mglezsauri@gmail.com
-
8 years ago
0
Больше 250
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
393
394
395
396
397
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[
abcdefghijklmnopqrstuvwxyz01234567890-
]
+
\.
)+
[
abcdefghijklmnopqrstuvwxyz01234567890
\-
]
+
$
/
gm
Open regex in editor
Description
Super dumb sanity check for valid host
Submitted by
anonymous
-
3 years ago