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
Community Patterns
Search among 11,780 community submitted regex patterns...
2
Shorten file path with /../
PCRE (PHP <7.3)
Example usage: $Path = preg_replace('/(?:^|(?<=\/))(?:+|\.(?!\.\/))++\/\.\.\//i', '', $Path);
Submitted by
Mr.Deek & +OnlineCop
-
8 years ago
1
Issues
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
/../ directory path cleaner
PCRE (PHP <7.3)
Replaces preceeding directory with / when ../ is used.
Submitted by
Mr.Deek
-
8 years ago
1
Split String using Custom Delimiter
PCRE (PHP <7.3)
This example uses colon (:)
Submitted by
anonymous
-
8 years ago
0
Testing (delete)
PCRE (PHP <7.3)
Testing (delete)
Submitted by
Testing (delete)
-
8 years ago
1
PE Filename Test
PCRE (PHP <7.3)
Blythedale Performance Evaluation Regex to check the Uploaded Filename
Submitted by
Vinod Jacob
-
8 years ago
1
getArrayInstance
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
getObjectInstance
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Bill Pay token
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
date validation during input
PCRE (PHP <7.3)
this regex is able to validate a date (format dd.mm.yyyy) in every state of user typing. i use it to ensure that the user isn't able to type in an invalid date at all (except from a leap year check which is done afterwards) The regex also makes assumptions of 'missed' separators so 1234 is captured...
Submitted by
anonymous
-
8 years ago
1
IV
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Commission
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Indian mobile numbers
PCRE (PHP <7.3)
All indian mobile phone numbers are till now are in the format of +91-(789)(9-digits) or +91(789)(9-digits) or 0(789)(9-digits). those numbers which are come into this category is valid with this RegEx.
Submitted by
N shoban babu
-
8 years ago
4
Jeff Test
PCRE (PHP <7.3)
Valid and Invalid emails
Submitted by
anonymous
-
8 years ago
0
Apache log regex
PCRE (PHP <7.3)
Regex pattern for Apache log
Submitted by
Sujan Thapa
-
8 years ago
1
dsadas
PCRE (PHP <7.3)
dsadsadas
Submitted by
anonymous
-
8 years ago
1
ates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
SP ZONE SEARCH PATTERN
PCRE (PHP <7.3)
no description available
Submitted by
Woohoo
-
8 years ago
0
Number
PCRE (PHP <7.3)
no description available
Submitted by
Jaromir Muller
-
8 years ago
1
SLICING A PATTERN
PCRE (PHP <7.3)
YEAR_MONTH_DAY HOUR_MINUTE_SECOND (UTC)
Submitted by
Kmna
-
8 years ago
1
...
495
496
497
498
499
...
589
http://
35
Regular Expression
PCRE (PHP <7.3)
/
(
https
?
:
\/\/
)
.
*
/
g
Open regex in editor
Description
no description available
Submitted by
Mitus M.
-
10 years ago