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
justtesting
PCRE (PHP <7.3)
justtesting
Submitted by
justtesting
-
8 years ago
1
justtesting<script>
PCRE (PHP <7.3)
justtesting
Submitted by
justtesting<script>
-
8 years ago
1
PHP (variable, function, class, constant) naming convension
PCRE (PHP <7.3)
PHP Basic coding standard
Submitted by
Najmuddeen Mohammed
-
8 years ago
1
WoW Screenshot
Python
If you need to rename it
Submitted by
anonymous
-
8 years ago
1
Delete duplicated chars
ECMAScript (JavaScript)
Deletes all duplicated chars in a string
Submitted by
Marcelo Fuentes
-
8 years ago
1
Full mw php
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
php-mw0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Todo.txt line pattern (Custom)
Python
I customized the todo.txt (see todotxt.com) normal formatting. Here is how mine works: Priority Due_Date Project#progressive_number Start_date^repeat_every Job Contexts Tags Here is an example: (A) 2016-05-24 +projectA#4 $2015-11-30^2M My todo job @context_foo @context_bar &WAIT &ANOTHER_TAG I wante...
Submitted by
Francesco Tosello
-
8 years ago
1
Checks for file ending
PCRE (PHP <7.3)
I.e. /folder/folder/filename.txt
Submitted by
RAussi
-
8 years ago
1
ruby
PCRE (PHP <7.3)
fdsafdsa
Submitted by
fdsafdsa
-
8 years ago
1
espre. ok
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
وب برتر
PCRE (PHP <7.3)
درج آگهی رایگان اینترنتی با وب برتر.
Submitted by
pdsign
-
8 years ago
1
\[\ \s*[a-z#A-Z_]+\s*-?\d+([\.]\d+)*\s*\ ]/
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
SV.NET Service Bus Log
PCRE (PHP <7.3)
SV.NET Service Bus Log
Submitted by
Garry West
-
8 years ago
1
Letter followed up by to 7 numerical digits
PCRE (PHP <7.3)
This regex will match an input string of the letter B (or b) followed up by to 7 numerical digits. It will fail if any letter/number/symbol is used other than B (or b) and more than 7 numbers are entered after B (or b). This is simple and was useful for validating a Court Case ID number for users af...
Submitted by
Alan Armbrust
-
8 years ago
1
Twitter tag regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
SAIL Recipe Link Fix
PCRE (PHP <7.3)
Find the recipe anchor reference to be converted to a file reference. Replacement regex for sublime is: \L$3\.md
Submitted by
anonymous
-
8 years ago
1
Youtube URL Regex
PCRE (PHP <7.3)
Youtube URL validator Credit to: phuc77 The captured groups are: protocol...
Submitted by
Haroun SMIDA
-
8 years ago
1
Match youtube id
PCRE (PHP <7.3)
Match any youtube id Working with the following links : https://www.youtube.com/watch?v=DFYRQ_zQ-gk&feature=featured https://www.youtube.com/watch?v=DFYRQ_zQ-gk...
Submitted by
Haroun SMIDA
-
8 years ago
1
Javascript Literal to JSON
ECMAScript (JavaScript)
Converts a javascript literal to json format
Submitted by
Justin Echternach
-
8 years ago
1
...
269
270
271
272
273
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
{
\n\s
*
)
(?:
[^
}{
]
*
)
(
\n\s
*
{
)
/
gim
Open regex in editor
Description
REMOVE INSIDE STRING OF BRACKET EXCEPT BRACKET INSIDE OF IT
Submitted by
Momar
-
8 years ago