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,040 community submitted regex patterns...
0
trim JSON
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match smiles in text
Python
Smile spec: 1619 informatics
Submitted by
FeDaniil
-
8 years ago
0
层
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find Angular-CLI <script src="*.bundle.js> injected elements
PCRE (PHP <7.3)
Use Case Angular CLI adds in js bundles when a build is performed, one of the bundles are tiny and should be unlined. Using something like gulp-replace that uses regedx to remove, and gulp-inject to rewrite these links ( and inline code ) can be very beneficial for a post build process if you are ...
Submitted by
anonymous
-
8 years ago
1
URL Slugs Optimized
PCRE (PHP <7.3)
This slug regex is optimized using strictly my own opinions. Slugs: Should be english, alphanumeric phrases separated with a single dash. Should not contain single alpha character between dashes. ...
Submitted by
Jordon Baade
-
8 years ago
0
Preços
PCRE (PHP <7.3)
Encontra qualquer preço presente num documento.
Submitted by
anonymous
-
8 years ago
0
Javascript Regex
ECMAScript (JavaScript)
Portal Use
Submitted by
mumair
-
8 years ago
0
Substitute Fortran DO with C# for
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Make PHP var_dump() output more compact
PCRE (PHP <7.3)
The PHP function var_dump() provides debugging output, but has more line-breaks than is needed for readability. This regex strips out the (in my eyes) unnecessary line-breaks. Good in a self written debugging method in combination with ob_start()and ob_get_contents().
Submitted by
Doqnach
-
8 years ago
0
Basic sanity syntax check of International Domain Names (converted to ASCII)
PCRE (PHP <7.3)
This regex provides a basic syntax sanity check on an International Domain Name (IDN) which has been converted to ASCII (e.g. via the PHP function idn_to_ascii() from the php-intl package. Does not guarantee the actual domain name is valid (let alone registered), but only a very basic syntax check.
Submitted by
Doqnach
-
8 years ago
0
Contribuintes
PCRE (PHP <7.3)
Encontra números de contribuinte (NIF's) num documento
Submitted by
anonymous
-
8 years ago
0
Capital Social
PCRE (PHP <7.3)
Encontra o valor do capital social de uma empresa.
Submitted by
anonymous
-
8 years ago
0
Telegram regex validation
PCRE (PHP <7.3)
https://telegram.me/Amirhamini https://t.me/Amirhamini
Submitted by
Farzad esmaeeli & Amirhamini
-
8 years ago
0
Telegram regex validation
PCRE (PHP <7.3)
https://telegram.me/Amirhamini https://t.me/Amirhamini
Submitted by
Farzad esmaeeli & Amirhamini
-
8 years ago
0
Email Validation <addr>@<website>.<domain>
ECMAScript (JavaScript)
Basic validation for email. Not Fool-Proof.
Submitted by
Subinoy Roy
-
8 years ago
0
prokka genbank inference tag parsing v2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
cn regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
prokka genbank inference tag parsing
PCRE (PHP <7.3)
where the inference line is long, it becomes multi-line and can't be parsed by biopython; need to re-write as single line
Submitted by
anonymous
-
8 years ago
0
t1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
IzTestString
PCRE (PHP <7.3)
Welcome to EsgYsg v2.1 by Xxxxxx.xxx, proudly hosted by Ljhebr Ojjkq! Edit the Expression & Text to see matches. Roll over – matches – or the expression for details. Undo mistakes with cmd-z. Save Favorites & Share $33 expressions with «friends or the Community. Explore your results with Tool...
Submitted by
anonymous
-
8 years ago
1
...
588
589
590
591
592
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
NFDC
\/
\w
*
\/
\w
*
\/
\w
*
\/
\w
*
-
\w
*
\/
\d
*
-
\d
*
)
|
(
\(
Sec
\)
)
(
\n\n\w
*
?
\w
*
?
\w
*
)
(
\w
*
?
\w
*
?
.
?
\w
*
)
(
\d
*
?
)
|
(
^
Channel
Name
:
)
(
\w
*
?
\w
*
?
)
(
\d
*
.\d
?
\w
*
)?
(
\w
*
)
|
(
^\d
?
\w
*
-
\d
*
?
\w
*
)
(
\d
*
\/
\d
*
\/
\d
*
,
?
)
/
gm
Open regex in editor
Description
Regex for NFDC
Submitted by
anonymous
-
5 years ago