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 11,760 community submitted regex patterns...
1
USA phone matcher
PCRE2 (PHP >=7.3)
Regex for matching usa number like: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555...
Submitted by
Arif
-
a year ago
0
Discord Invite link - Updated
PCRE2 (PHP >=7.3)
Can match 7 variations of invites (the page discord.com/servers/ is included)
Submitted by
Diso
-
a year ago
0
match csrf token
PCRE2 (PHP >=7.3)
Matches the csrf token in the meta data
Submitted by
anonymous
-
a year ago
0
Strict URL validation
PCRE2 (PHP >=7.3)
(?!.[.]{2})((https?|http)\:\/\/)?([a-z0-9+!(),;?&=\$.-]+(\:[a-z0-9+!(),;?&=\$.-]+)?@)?([a-z0-9-.-.]?(?!.\/).)\.([a-z]{2,1000})(\:[0-9]{2,5})?(\/([a-z0-9+\$-]\.?)+)\/?(\?a-z+&\$.-)?(#a-z_.-)?
Submitted by
Adwin Raj GP
-
a year ago
1
URL Validator (HTTP and HTTPS)
PCRE (PHP <7.3)
Validate one URL HTTP and HTTPS
Submitted by
Joaquim
-
a year ago
0
Mysite
PCRE (PHP <7.3)
Hello
Submitted by
anonymous
-
a year ago
0
Name with title
PCRE2 (PHP >=7.3)
Name with title
Submitted by
anonymous
-
a year ago
0
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
a year ago
0
CURDEPTH\([^0].*\)
PCRE2 (PHP >=7.3)
CURDEPTH\(.*\)
Submitted by
anonymous
-
a year ago
0
BACassetList
PCRE2 (PHP >=7.3)
Find CMS asset entries in HTML "Table"
Submitted by
anonymous
-
a year ago
0
find specific property of angular component
PCRE2 (PHP >=7.3)
This can be used in vscode to search in your repo if a property has been used in your component. name of component: it-grid name of property selectedItems
Submitted by
Salmin
-
a year ago
(Last modified a year ago)
0
Remove Whitespace
PCRE2 (PHP >=7.3)
no more whitespace
Submitted by
Me
-
a year ago
0
ipv4
PCRE2 (PHP >=7.3)
To check IPv4
Submitted by
anonymous
-
a year ago
0
Email
PCRE2 (PHP >=7.3)
This is used for simple email validation
Submitted by
Pritesh
-
a year ago
0
Select Content Between Two Strings
PCRE2 (PHP >=7.3)
e.g. style="SOMECSS"
Submitted by
anonymous
-
a year ago
0
MBI Regex
PCRE (PHP <7.3)
validates against the MBI format published by CDC
Submitted by
i410hlr
-
a year ago
0
Parse arguments
PCRE (PHP <7.3)
Parse arguments
Submitted by
Ofir Yariv
-
a year ago
-1
phone
PCRE2 (PHP >=7.3)
regex for phone
Submitted by
anonymous
-
a year ago
0
links
PCRE2 (PHP >=7.3)
links validation
Submitted by
ahmedfawzi
-
a year ago
0
Email Validator
PCRE2 (PHP >=7.3)
Email validator.
Submitted by
anonymous
-
a year ago
1
...
34
35
36
37
38
...
588
Get date from string
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\d
{4}
\s
*
年
\s
*
\d
{1,2}
\s
*
月
\s
*
\d
{1,2}
\s
*
日
)
/
gm
Open regex in editor
Description
Get date from string
Submitted by
anonymous
-
2 years ago