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 14,400 community submitted regex patterns...
1
Selects full path without filename or query parameter
PCRE (PHP <7.3)
For example: /foldera/folderb/filename.txt?query=abc Result: /foldera/folderb/
Submitted by
RAussi
-
8 years ago
1
small version of path select
PCRE (PHP <7.3)
Selects: /foldera/folderb/
Submitted by
RAussi
-
8 years ago
1
phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
capital of
Python
no description available
Submitted by
Shebin
-
8 years ago
1
MML
Python
no description available
Submitted by
Aron
-
8 years ago
1
Check for GUID/UUID
PCRE (PHP <7.3)
This pattern search case insensitive for a valid GUID: a combination of A-Z and 9-0 in four groups delimited by a dash: [8]-[4]-[4]-[4]-[12].
Submitted by
Fallon Turner
-
8 years ago
1
checks for valid filename
PCRE (PHP <7.3)
filename.txt Not: .filename.txt
Submitted by
RAussi
-
8 years ago
1
date time stamps
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
time stamp english
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Convert an LDIF from DS A into LDIF in DS B in one Regex
PCRE (PHP <7.3)
If you need to convert an LDIF exported from one directory to an LDIF in another directory, replacing the DN and attr names from one to the other
Submitted by
anonymous
-
8 years ago
1
Separate words in sentence
PCRE (PHP <7.3)
Separate words in sentence
Submitted by
Elijah Mwangi
-
8 years ago
1
Select Specific text (Boulevard)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
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
...
591
592
593
594
595
...
720
Community Library Entry
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago