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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 9,420 community submitted regex patterns...
0
replace-last-comma with semicolon
PCRE (PHP <7.3)
replace-last-comma with semicolon similar to http://stackoverflow.com/questions/3829483/how-to-replace-last-occurrence-of-characters-in-a-string-using-javascript
Submitted by
Michael Freidgeim
-
8 years ago
0
Reg Exp to Remove all special Characters
PCRE (PHP <7.3)
This regular expression removes all special characters including whitespaces which are allowed in windows path name, file name and folder name.
Submitted by
Anirudh
-
8 years ago
0
Password Security and Validation
PCRE (PHP <7.3)
A password regex that has to have 6 characters at minimum, not spaces allowed, and at least 1 special character, 1 uppercase letter, 1 lowercase letter and a digit
Submitted by
MestreMurai
-
8 years ago
0
Поиск процента ({число}%) в строке
PCRE (PHP <7.3)
Выражение осуществялет поиск процента в строке вида: 10% 5-17% 25-74,3% 41,6-48% 3,5-27,9%
Submitted by
Mashoshin Sergey
-
8 years ago
0
match time before 12:35 or match 12:35 exactly
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
match any time before 20:05
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
match time all the way up to 23:59.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
ip username
PCRE (PHP <7.3)
no description available
Submitted by
D17
-
8 years ago
0
Ip address Validator
PCRE (PHP <7.3)
Validate IP address and IP address range to. xxx.xxx.xxx.xxx and xxx.xxx.xxx.xxx/xxx
Submitted by
nehatiwari
-
8 years ago
0
parsing distinguishedName attribute in LDAP
PCRE (PHP <7.3)
parsing distinguishedName attribute in LDAP. Requires g modifier
Submitted by
las68
-
8 years ago
0
Special Chars
PCRE (PHP <7.3)
matches any special chars (e.g. !@#$)
Submitted by
DrewBaker
-
8 years ago
0
Phone Number
PCRE (PHP <7.3)
Phone Number validator with country code area code
Submitted by
Kristine Poghosyan
-
8 years ago
0
^[0-9]{10,11}|2[0-9]{3,3}-(0[1-9]|[1][0-2])-(0[1-9]|[1-2][0-9]|3[0-1])
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
INNERTEXT -- from HTML TAGS
PCRE (PHP <7.3)
HTML INNERTEXT()
Submitted by
zigray
-
8 years ago
0
Names
PCRE (PHP <7.3)
For US names
Submitted by
anonymous
-
8 years ago
0
File path seperator
PCRE (PHP <7.3)
Seperate any file from it's path and trim extention, creating two groups
Submitted by
Edward Aryee
-
8 years ago
0
Xml Parser!
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. --- Apply same pattern on capture group #3 (using recursion) to parse entire xml! --- Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
0
message postcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Oktavian regex [1]
PCRE (PHP <7.3)
trans replace
Submitted by
Oktavian Master
-
8 years ago
1
...
31
32
33
34
35
...
471
matching regex and logical pattern from a string
0
Regular Expression
PCRE (PHP <7.3)
/
(
[
A
-
Za
-
z0
-
9
\.
_
]
+
?
)
\s
*
(
=
|
~
|
>
|
<
)
\s
*
(
\"
.
+
?
\"
|
[^
\s
)
]
+
)
/
g
Open regex in editor
Description
no description available
Submitted by
haris
-
8 years ago