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 6,020 community submitted regex patterns...
1
L1 = {w ∈ Σ ∗ = {0, 1} ∗ | |w|0 = 2k, k ∈ N}
PCRE2 (PHP >=7.3)
L1 = {w ∈ Σ ∗ = {0, 1} ∗ | |w|0 = 2k, k ∈ N}
Submitted by
Alan Dantas
-
7 months ago
1
L012 = {w ∈ Σ | |w|000 = 0} ∗ = {0, 1} ∗ | |w|000 = 0}
PCRE2 (PHP >=7.3)
L012 = {w ∈ Σ | |w|000 = 0} ∗ = {0, 1} ∗ | |w|000 = 0}
Submitted by
Alan Dantas
-
7 months ago
1
L2 = {w ∈ Σ ∗ = {0, 1} ∗ | |w|1 = 2k + 1, k ∈ N}
PCRE2 (PHP >=7.3)
L2 = {w ∈ Σ ∗ = {0, 1} ∗ | |w|1 = 2k + 1, k ∈ N}
Submitted by
Alan Dantas
-
7 months ago
1
hyphenize
ECMAScript (JavaScript)
convert 16 chars into four hyphen separated groups
Submitted by
mco
-
7 months ago
1
Start of Java Functions
PCRE2 (PHP >=7.3)
I wrote this regex to find all of the function headers in java.
Submitted by
anonymous
-
7 months ago
1
replace static url tags in templates from flask to django
PCRE2 (PHP >=7.3)
replace static url tags in templates from flask to django
Submitted by
anonymous
-
7 months ago
1
Discord Bot Token
ECMAScript (JavaScript)
JS/TS regex for token validation.
Submitted by
anonymous
-
7 months ago
1
Roblox Account Cookie RegExp
ECMAScript (JavaScript)
A regex to match against Roblox cookies. Two captures; the first is the warning text; the second is the cookie itself.
Submitted by
anonymous
-
7 months ago
1
OpenWeather API Key Regex
ECMAScript (JavaScript)
A simple regex to match API keys for OpenWeather map. Matches 32 hexadecimal character strings.
Submitted by
anonymous
-
7 months ago
1
Get Markdown Tables
PCRE2 (PHP >=7.3)
Get a Match for every table in a markdown file.
Submitted by
Matthias König
-
7 months ago
1
Get Markdown Table Row
PCRE2 (PHP >=7.3)
Get the whole row except the header delimiter
Submitted by
Matthias König
-
7 months ago
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
-
7 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/秋枫雁飞
-
7 months ago
1
get Markdown image link and alt
PCRE2 (PHP >=7.3)
get image's link and alt in Markdown
Submitted by
fgt1t5y
-
7 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
-
7 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
-
7 months ago
1
Gregorian Date pattern.
PCRE2 (PHP >=7.3)
Matches Gregorian Date Pattern Completed Challenge from Codewars
Submitted by
Dashrath Sharma
-
7 months ago
1
ip address
PCRE2 (PHP >=7.3)
ip
Submitted by
Giorgio
-
7 months ago
1
Regex ejemplo grafana01
PCRE2 (PHP >=7.3)
validacion de regex
Submitted by
Edson Rueda
-
7 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
-
7 months ago
1
...
271
272
273
274
275
...
301
Start of Java Functions
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\(\)
\n
[
[:space:]
]
{1,}
\{
)
|
(
\(\)
[
[:space:]
]
{1,}
\{
)
/
gm
Open regex in editor
Description
I wrote this regex to find all of the function headers in java.
Submitted by
anonymous
-
7 months ago