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 9,520 community submitted regex patterns...
3
How do I write a Regex to inspect Cisco Interfaces
PCRE (PHP <7.3)
I am asking for help in writing a regular expression to shorten this expression. I need the string below to search every interface within the range of 1 -24 to validate the configuration. If one interface does not have the required configuration then the expression fails. interface GigabitEtherne...
Submitted by
Pirates
-
10 years ago
3
PL Phone number
PCRE (PHP <7.3)
PL Phone number
Submitted by
Dawid
-
10 years ago
3
white space before punctuations, outside script and code tags
PCRE (PHP <7.3)
white space before punctuations, outside script and code tags
Submitted by
ced
-
10 years ago
3
split sentence regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
images url match in text
PCRE (PHP <7.3)
no description available
Submitted by
Redfern.89
-
10 years ago
3
Div content
PCRE (PHP <7.3)
no description available
Submitted by
mohammadsaleh
-
9 years ago
3
Cisco ASA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
@font-face stuff
PCRE (PHP <7.3)
bits and pieces of reusable replacements in CSS @font-face rules
Submitted by
mroncetwice
-
9 years ago
3
sql: insert into
PCRE (PHP <7.3)
insert into (a,b,c) values (1,2.3,"test");
Submitted by
suat erenler - sua.gen.tr
-
9 years ago
3
hj
PCRE (PHP <7.3)
hj
Submitted by
hj
-
9 years ago
3
currency
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Invalid Unicode characters in XML
PCRE (PHP <7.3)
This pattern matches all the Unicode characters that are not allowed in an XML document. It's based on the Wikipedia article "Valid characters in XML".
Submitted by
Aaron Wells
-
9 years ago
3
Currencies
PCRE (PHP <7.3)
Matches numbers formatted like currencies
Submitted by
elgehelge
-
9 years ago
3
Perl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Forum user validation
PCRE (PHP <7.3)
Pedro al DAMS
Submitted by
giacomo
-
9 years ago
3
Nombres 4 chiffres
PCRE (PHP <7.3)
Nombres 4 chifres
Submitted by
EA
-
9 years ago
3
Shortcode parser
PCRE (PHP <7.3)
Parse shortcodes, its attributes values and html
Submitted by
anonymous
-
9 years ago
3
POST OFFICE BOX
PCRE (PHP <7.3)
no description available
Submitted by
jmweekes
-
9 years ago
3
Camel case to space-separated string
PCRE (PHP <7.3)
Takes any camel case and returns it plus spaces.
Submitted by
Rougeware
-
9 years ago
3
BOOLEAN EXPRESSION WITH BRACKETS MATCHER
PCRE (PHP <7.3)
comapre simbols used just !=, ==, =, beacose of task keyword "not" can be used only before leftside value beacose of task
Submitted by
Ilya Filisteev
-
9 years ago
1
...
465
466
467
468
469
...
476
Community Library Entry
3
Regular Expression
PCRE (PHP <7.3)
/
(?P<shortcode>
(?:
(?:
\s
?
\[
)
)
(?P<name>
[
\w
\-
]
{3,}
)
(?:
\s
(?P<attrs>
[
\w\d
,
\s
=
\"\'\-\+\#\%\!\~\`\&\.
\s
\:\/\?\|
]
+
)
)?
(?:
\]
)
(?:
(?P<html>
[
\w\d
\,\!\@\#\$\%\^\&\*\(\\
)
\s
\=\"\'\-\+\&\.
\s
\:\/\?\|\<\>
]
+
)
(?:
\[\/
[
\w
\-\_
]
+
\]
)
)?
)
/
ug
Open regex in editor
Description
Parse shortcodes, its attributes values and html
Submitted by
anonymous
-
9 years ago