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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,200 community submitted regex patterns...
1
Extract phone number and email address from string
PCRE2 (PHP >=7.3)
Extract the phone numbers and email addresses from a string
Submitted by
Mukesh Jangid
-
10 months ago
1
Get all table from sql query string | 从SQL查询语句中获取所有表名
PCRE2 (PHP >=7.3)
Get all table from sql query string | 从SQL查询语句中获取所有表名。 WelineFramework PHP8 。
Submitted by
Aiweline/秋枫雁飞
-
10 months ago
1
get Markdown image link and alt
PCRE2 (PHP >=7.3)
get image's link and alt in Markdown
Submitted by
fgt1t5y
-
10 months ago
1
Simple URL validation
.NET 7.0 (C#)
Validates protocol, sub-domain, domain, and top-level domain. No port number and query string parameters validation is made.
Submitted by
anonymous
-
10 months ago
1
Regex, find almost all text between html tags, for laravel translation
PCRE2 (PHP >=7.3)
Regex, find almost all text between html tags, for laravel translation
Submitted by
anonymous
-
10 months ago
1
Match URLs
PCRE2 (PHP >=7.3)
Matches most of the URLs I through at it. Did not find any ULR that it doesn't match yet.
Submitted by
Dashrath Sharma
-
10 months ago
1
Gregorian Date pattern.
PCRE2 (PHP >=7.3)
Matches Gregorian Date Pattern Completed Challenge from Codewars
Submitted by
Dashrath Sharma
-
10 months ago
1
ip address
PCRE2 (PHP >=7.3)
ip
Submitted by
Giorgio
-
10 months ago
1
Regex ejemplo grafana01
PCRE2 (PHP >=7.3)
validacion de regex
Submitted by
Edson Rueda
-
10 months ago
1
Match T-SQL view definition
PCRE2 (PHP >=7.3)
This regex matches the Transact SQL statement for selecting the database and creating a view.
Submitted by
anonymous
-
10 months ago
1
match php tag
PCRE2 (PHP >=7.3)
match php tag
Submitted by
Shun Shun
-
10 months ago
(Last modified 10 months ago)
1
Matches All the even numbers
PCRE2 (PHP >=7.3)
Matches all the even numbers from a given input.
Submitted by
Dashrath Sharma
-
10 months ago
1
Matches All the Odd Numbers
PCRE2 (PHP >=7.3)
Matches All the Odd Numbers
Submitted by
Dashrath Sharma
-
10 months ago
1
convert any youtube video link to an embed in iframe
PCRE2 (PHP >=7.3)
supports all link formats
Submitted by
1Mouse
-
10 months ago
1
Email Regex
PCRE2 (PHP >=7.3)
Email address: RFC 2822 Format Matches a normal email address. Does not check the top-level domain. Copied from: https://stackoverflow.com/a/16168103/4640611
Submitted by
anonymous
-
10 months ago
1
Quartz .NET Cron Schedule Validation
PCRE2 (PHP >=7.3)
Matches a list of cron expressions which are valid in the Quartz .NET library Quartz Net Cron Expression
Submitted by
Michael Robertson
-
10 months ago
(Last modified 10 months ago)
1
Glyph name Bulgarian local form
PCRE2 (PHP >=7.3)
replace .bgr with cyr_BGR in replace string
Submitted by
anonymous
-
10 months ago
1
force download file (HTML5)
PCRE2 (PHP >=7.3)
This regex is written for a Joomla plugin. This REGEX force to DOWNLOAD à PDF file instead of showing PDF in browser
Submitted by
Sébastien LHUILLIER
-
10 months ago
1
Initializing identifiers
.NET 7.0 (C#)
Initializing identifiers
Submitted by
anonymous
-
10 months ago
1
Rust type-like ident casing
Rust
Matches built-in primitives and identifiers with casing conventionally used for type/constant names.
Submitted by
Neel Yadav
-
10 months ago
1
...
25
26
27
28
29
...
160
Checks for PHP classes with namespaces that haven't been imported.
0
Regular Expression
Golang
`
(?:
implements
|
new
|
@var
|
extends
)
\s
*
(?P<fullNamespace>
\\
[
A
-
Za
-
z
]
+
|
[
A
-
Za
-
z
]
+
?
(?:
\\
(?P<class>
[
A
-
Za
-
z
]
+
)
)+
)
`
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago