Regular Expressions 101

Community Patterns

5

ipv6

PCRE (PHP <7.3)
Match an ipv6 address
Submitted by Frusty - 8 years ago
9

only numbers

PCRE (PHP <7.3)
A string with only numbers in
Submitted by Gotts - 8 years ago
4

Phone number

PCRE (PHP <7.3)
no description available
Submitted by Mark Landry - 9 years ago
3

PL Phone number

PCRE (PHP <7.3)
PL Phone number
Submitted by Dawid - 9 years ago
3

Cisco ASA

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 9 years ago
1...34567...466

Replace namespaces in xpath with local-name

0

Regular Expression
.NET 7.0 (C#)

@"
(?<=(/|^))(((/|^)|(\w*:))(?<node>.*?))(?=/|$)
"
gm

Description

Loading markdown...
Submitted by pvlzh - 9 months ago