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 11,420 community submitted regex patterns...
0
url segments seperation
PCRE (PHP <7.3)
seperates url path and query
Submitted by
r.abdollahi
-
9 years ago
0
Capture subsubsub sections of constitution/bylays
PCRE (PHP <7.3)
Will only capture patterns matching 4 levels, found at the beginning of a line if /gm tag is used
Submitted by
bsmith
-
9 years ago
0
Find missing space around operators (=, +, -, *, /)
Python
no description available
Submitted by
rugk
-
8 years ago
0
IP address a.b.c.d form with range from 0 to 255 for each letters
Python
Are you pissed off with your regular expression homework? well then. here is the answer. ^([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))\.([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))\.([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))\.([0-9]|1-9|1(0-9)|2(0-4|5[0-5]))$
Submitted by
Abdulaziz
-
8 years ago
0
switch case statemen in C++
PCRE (PHP <7.3)
Match switch case statemen in C++
Submitted by
Денис Суховерхов
-
8 years ago
0
Facebook ID in Links or Widgets
PCRE (PHP <7.3)
Find the ID/name of facebook users/pages in widgets, or links.
Submitted by
anonymous
-
8 years ago
0
Float Representations
PCRE (PHP <7.3)
no description available
Submitted by
S-YOU
-
8 years ago
0
Credit Card Validator
PCRE (PHP <7.3)
For Visa, Mastercard, Discover, and AMEX
Submitted by
David Avellan
-
8 years ago
0
Remove Javascript Single Line Comment
PCRE (PHP <7.3)
Yancharuk's code/regex
Submitted by
Yancharuk
-
8 years ago
0
Yealink XML Phonebook entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Yealink XML Phone book entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Telephone number with space
PCRE (PHP <7.3)
no description available
Submitted by
rafanto
-
8 years ago
0
Indian Phone Numbers
PCRE (PHP <7.3)
Can match all indian 10 digit mobile numbers (with or without country code,braces or prefixed 0)
Submitted by
Harshvardhan Malpani
-
8 years ago
0
buen
PCRE (PHP <7.3)
Name:Jose Luis Torres Email:ptapia1977@yahoo.com Phone:7739889785 Username:trabajando CreditCard:4190025858706384 Expiration:10/14...
Submitted by
anonymous
-
8 years ago
0
fortigate syslog
PCRE (PHP <7.3)
parse the log line generated from fortigate 60B
Submitted by
ViKing
-
8 years ago
0
deficient exhibited gmk
PCRE (PHP <7.3)
no description available
Submitted by
cu
-
8 years ago
0
Extract string from translate function
PCRE (PHP <7.3)
Extract first string parameter from zend view translate helper method
Submitted by
anonymous
-
8 years ago
0
google.com
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match HTML Tag Contents
PCRE (PHP <7.3)
Capture group one is the tag's name, capture group two is the tag's contents.
Submitted by
anonymous
-
8 years ago
0
splunk config stanza regex
PCRE (PHP <7.3)
Pull stanzas from splunk .conf files
Submitted by
keith muggleton
-
8 years ago
1
...
222
223
224
225
226
...
571
content
1
Regular Expression
PCRE (PHP <7.3)
@
<
[^
"
]
*
class="
[^
"
]
*
(?<=
"
|
\s
)
marginRight
(?=
"
|
\s
[^
"
]
*
)
"
[^
"
]
*
href="
(?<url>
(
[^
?
]
[^
\d
+
]
*
(?<number>
\d
+
)
)
[^
"
]
*
)
"
@
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago