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,020 community submitted regex patterns...
0
TBSK charset regexp checks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
URL Component Pattern
ECMAScript (JavaScript)
no description available
Submitted by
jkaveri
-
8 years ago
0
AIJMON 1/3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
task2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
match bootstrap's column classes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Number range
ECMAScript (JavaScript)
Match a number range
Submitted by
anonymous
-
8 years ago
0
User input check for xss
ECMAScript (JavaScript)
Checks for strings that could possibly be a tag with malicious content
Submitted by
C.W. Joosse
-
8 years ago
0
Regex html tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
get all tags except one
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
get attributes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
html content
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
International Phones Validation
ECMAScript (JavaScript)
I don't know how many times I found some regex online that just didn't work. Finally decided to write my own that actually works for some of our customers around the world.
Submitted by
Alexei Yagolnikov
-
8 years ago
0
Decimal type check for view column
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Schema.Table_name | \ \*\
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
FROM\ SCHEMA(.TABLE_NAME)?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Schema.Table_name | \ \*\
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
attr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
final
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
SCHEMA.TABLE_NAME|Primary_key (x (x+n)?)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
final2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
25
26
27
28
29
...
901
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(?:
^
|
(?<=
\/
)
)
(?:
[^
\s
.
\/
]
+
|
\.
(?!
\.\/
)
)+
+
\/\.\.\/
/
gmix
Open regex in editor
Description
Example usage: $Path = preg_replace('/(?:^|(?<=/))(?:[^\s./]+|.(?!./))++/..//i', '', $Path);
Submitted by
Mr.Deek & +OnlineCop
-
9 years ago