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,000 community submitted regex patterns...
0
toki pona tokenization
PCRE2 (PHP >=7.3)
a regex for matching words according to the rules of writing toki pona in latin characters
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Matches a specific cli argument for node js
ECMAScript (JavaScript)
Ideally, to be used with JS Array join and String replace methods, like so: process.argv.join(' ').replace(/["']/g, '').match(/(?<=--path[ |=])dist\/.*(?=$)/); The join is to convert array to string to prevent iterating. The replace is to remove single or double quotes for easier matching....
Submitted by
Marc Kassay
-
3 years ago
0
LastName, FirstName MiddleName(s), Suffix
ECMAScript (JavaScript)
This Regex parses out the LastName, FirstName, MiddleName(s) (optional) and Suffix (optional). The String must have at least two words separated by a comma to match.
Submitted by
Ryan Toner
-
3 years ago
0
Wordle Result
Golang
A Regular Expression for the result of a Wordle, that can be shared after completing the Wordle of the Day.
Submitted by
Varun R Gupta
-
3 years ago
0
Match semantic version (numbers only)
PCRE2 (PHP >=7.3)
Match a semantic version string, but numbers only (e.g. 1.2.3). Ignore things like dev, patch, src, etc.
Submitted by
Geddings
-
3 years ago
0
regex_bl_fees_types
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
3 years ago
-1
bl_regex_fees_types_2
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
3 years ago
0
Title Firstname Middlename Lastname, Suffix
ECMAScript (JavaScript)
This raged parses out the Title (optional) Firstname Middlename(s) (optional) Lastname (optional) and Suffix (optional)
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
-1
.NET tools
ECMAScript (JavaScript)
a
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
/@d.+e\s[[].+[\]]/gm
ECMAScript (JavaScript)
using this library, you can search for substrings of the type in a string: @delete [user_name]
Submitted by
Developer bot(my programs: https://replit.com/@developer)
-
3 years ago
0
/@.+k\s[[].+[\][msg:\s"].+"[\]]/gi
ECMAScript (JavaScript)
looking for lines like: *@block user
Submitted by
Developer bot
-
3 years ago
0
Escape sequence
ECMAScript (JavaScript)
Matches on escape sequences only. \b Backspace \f Form Feed \n New Line \r Carriage Return \t Horizontal Tabulator...
Submitted by
anonymous
-
3 years ago
0
hex string split by blank
ECMAScript (JavaScript)
match like aa bb cc dd ee ff 00 aa 13 0 1 2 3 aa
Submitted by
Victor Lin
-
3 years ago
0
International Standard Book Number
PCRE2 (PHP >=7.3)
This pattern checks for the format according to the International ISBN Agency standard e.g. '978-3-16-148410-0'. Source: https://www.oreilly.com/library/view/regular-expressions-cookbook/9781449327453/ch04s13.html. NOTE: it does not validate if it is an actual ISBN number. It only validates the fo...
Submitted by
Regular Expressions Cookbook, 2nd Edition by Jan Goyvaerts, Steven Levithan
-
3 years ago
0
Captures everything until the first hashtag
ECMAScript (JavaScript)
This captures everything from the start until the first hashtag.
Submitted by
Praeses
-
3 years ago
0
password complexity pattern
ECMAScript (JavaScript)
be at least 8 characters with at least 1 Capital , 1 Lowercase , 1 special char , 1 number
Submitted by
founet
-
3 years ago
0
get numbers removing zeros from left
ECMAScript (JavaScript)
oq?
Submitted by
anonymous
-
3 years ago
0
Match any pattern abc.def.***.uvw.xyz hackerRank
Java 8
This regex matches any pattern like in the title. HackerRank challenge modified.
Submitted by
anonymous
-
3 years ago
0
Nginx rewrite rule to match all urls except .well-known (letsencrypt challenge validation)
PCRE2 (PHP >=7.3)
Will match typical urls such as: / /somepage /some/nested/page Will not match URLs starting with...
Submitted by
anonymous
-
3 years ago
0
Наличие слова без учета регистра в тексте
.NET 7.0 (C#)
Наличие слова без учета регистра в тексте
Submitted by
anonymous
-
3 years ago
1
...
802
803
804
805
806
...
900
Community Library Entry
1
Regular Expression
Python
r"
^
(
(?P<a>
[
0
-
9
]
{1,3}
)
-
)?
(
(?P<b>
[
0
-
9
]
{1,3}
)
:
)?
(?P<cde>
(?P<c>
[
0
-
9A
-
F
]
{1,3}
)
.
(?P<d>
[
0
-
9A
-
F
]
{1,3}
)
(
.
(?P<e>
[
0
-
9A
-
F
]
{1,3}
)
)?
)
(
[
\*\&
]
(?P<f>
[
0
-
9A
-
F
]
{1,3}
)
)?
\(
(?P<value>
[^
*^
\)
]
*
)
(
(
[
\*
]
)
(?P<unit>
\w
*
)
)?
\)
$
"
gm
Open regex in editor
Description
Parsing OBIS Data
Submitted by
anonymous
-
a year ago
(Last modified a year ago)