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
Community Patterns
Search among 14,040 community submitted regex patterns...
0
Release and master branches
PCRE2 (PHP >=7.3)
refs/heads/release/1.0.1 refs/heads/master master release/1.0.1
Submitted by
AbdElraouf Sabri
-
a year ago
(Last modified a year ago)
0
Grab CalVer from git tags
PCRE2 (PHP >=7.3)
When using git ls-remote --tags --sort=version:refname, the results display the git hash as well as a refs prefix. This regex grabs only the CalVer string.
Submitted by
John Obla
-
a year ago
0
sdsds@needemand.com
PCRE2 (PHP >=7.3)
sdsds@needemand.com
Submitted by
anonymous
-
a year ago
0
passw125
PCRE2 (PHP >=7.3)
^(?=.\d)(?=.\W)(?=.*[a-zA-Z]).{6,8}$
Submitted by
AS
-
a year ago
0
regex html tag
PCRE2 (PHP >=7.3)
$subject = 'asdasdsdsa'; $pattern = '^(.+)?';
Submitted by
anonymous
-
a year ago
0
Start and Ends with same Letter
Java 8
regex for a string that starts and ends with the same letter
Submitted by
anonymous
-
a year ago
0
Date FR
PCRE2 (PHP >=7.3)
Date FR
Submitted by
anonymous
-
a year ago
(Last modified 9 months ago)
0
Date EN
PCRE2 (PHP >=7.3)
Date EN
Submitted by
anonymous
-
a year ago
(Last modified 9 months ago)
0
Myliberary
PCRE2 (PHP >=7.3)
Page to be the first place of African and the horns and knowledge of the first place of ethiopia What time mashilla first place on mobile devices At one
Submitted by
anonymous
-
a year ago
0
Initial Ceros and Grouping Characters
PCRE2 (PHP >=7.3)
remove what title says
Submitted by
anonymous
-
a year ago
0
Country code with 2 letters (List)
Python
That is an example that shows how to match a country code 2 letters for a list of possible matches
Submitted by
joaosr-adjust
-
a year ago
(Last modified a year ago)
0
Regex EKS Logs
PCRE2 (PHP >=7.3)
This Just For Test
Submitted by
JuniYadi
-
a year ago
0
Country 2 letters pattern (Any)
Python
That is an example that shows how to match any country code 2 letters pattern
Submitted by
joaosr-adjust
-
a year ago
(Last modified a year ago)
0
Inf_lab2
Python
Regular expressions for lab2
Submitted by
anonymous
-
a year ago
0
EC2 Instance Type
Python
Validates ec2 instance types as of 10/19/22
Submitted by
anonymous
-
a year ago
0
DD followed by Month in String
Python
-
Submitted by
anonymous
-
a year ago
0
BSDS regex example 1
PCRE2 (PHP >=7.3)
Part of a training course
Submitted by
Coppelia
-
a year ago
0
grade pattern
Java 8
grade pattern for chinese school grade
Submitted by
anonymous
-
a year ago
0
Remove domains in email addresses after @
PCRE2 (PHP >=7.3)
Remove domains in email addresses after @
Submitted by
anonymous
-
a year ago
0
Mt940-61
Java 8
Parse tag 61 of an mt940 statement
Submitted by
anonymous
-
a year ago
1
...
659
660
661
662
663
...
702
Match Consonants
-1
Regular Expression
PCRE2 (PHP >=7.3)
/
[
b
-
df
-
hj
-
np
-
tv
-
z
]
/
gm
Open regex in editor
Description
Use regex to test whether a letter is a consonant or not. Use /[B-DF-HJ-NP-TV-Z]/ for capitals.
Submitted by
Matthew Hiebing
-
2 years ago