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 5,880 community submitted regex patterns...
0
正则表达式
PCRE2 (PHP >=7.3)
NFA和DFA的区别
Submitted by
wangheng
-
2 years ago
0
Michele XP E
ECMAScript (JavaScript)
Teste
Submitted by
Luciano
-
2 years ago
0
hk_ec_lanecrawford
PCRE2 (PHP >=7.3)
Submitted by
Alex
-
2 years ago
0
1030
ECMAScript (JavaScript)
Validation
Submitted by
Christopher Santos
-
2 years ago
0
IPv6
PCRE2 (PHP >=7.3)
small ipv6 regex
Submitted by
anonymous
-
2 years ago
0
LDAP URI regex
PCRE2 (PHP >=7.3)
ldap, ldaps, ipv4, ipv6 & dns (bare bones)
Submitted by
anonymous
-
2 years ago
0
Exercise for FreeCodeCamp - Restrict Possible Usernames
ECMAScript (JavaScript)
Usernames are used everywhere on the internet. They are what give users a unique identity on their favorite sites. You need to check all the usernames in a database. Here are some simple rules that users have to follow when creating their username. Usernames can only use alpha-numeric characters. ...
Submitted by
juanalbglz
-
2 years ago
0
Match everything in between quotes
ECMAScript (JavaScript)
Match everything in between quotes
Submitted by
anonymous
-
2 years ago
0
toki pona syllabification
PCRE2 (PHP >=7.3)
regular expression for syllabifying words in toki pona
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
regularExpe-Racket
PCRE2 (PHP >=7.3)
Exercises for the class with racket
Submitted by
anonymous
-
2 years ago
0
Match strings starting and ending with the same letter
PCRE2 (PHP >=7.3)
This will match all strings starting and ending with the same letters that are specified in the capturing group (in the parentheses).
Submitted by
@elliottprogrammer
-
2 years ago
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
-
2 years ago
(Last modified 2 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
-
2 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
-
2 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
-
2 years ago
0
regex_bl_fees_types
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
2 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
-
2 years ago
(Last modified 2 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)
-
2 years ago
0
/@.+k\s[[].+[\][msg:\s"].+"[\]]/gi
ECMAScript (JavaScript)
looking for lines like: *@block user
Submitted by
Developer bot
-
2 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
-
2 years ago
1
...
227
228
229
230
231
...
294
LDAP URI regex
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
ldap
(
s
)?
:
\/\/
)
(
(
(
\d
{1,3}
.
){3}
\d
{1,3}
(
:
\d
+
)?
)
|
(
\w
|
\d
|)+
|
(
(
\[
(
[
a
-
f0
-
9
]
{1,4}
:
{1,2}
){1,4}
(
[
a
-
f0
-
9
]
{1,4}
)
\]
)
(
:
\d
+
)?
)
)
.\w
+
$
/
gm
Open regex in editor
Description
ldap, ldaps, ipv4, ipv6 & dns (bare bones)
Submitted by
anonymous
-
2 years ago