Regular Expressions 101

Community Patterns

1

dd

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 7 years ago
1

Email

PCRE (PHP <7.3)
Refunds email validation
Submitted by Greg Kedge - 7 years ago
1

xref phone number

Python
no description available
Submitted by anonymous - 7 years ago
1

Save

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 7 years ago
1

re

Python
no description available
Submitted by anonymous - 7 years ago
1

HTML tag search

Python
finds the common html tags
Submitted by Henri Mulder - 7 years ago
1

smiley

PCRE (PHP <7.3)
no description available
Submitted by FallenShard - 7 years ago

Detects IPv4 and IPv6 addresses

1

Regular Expression
PCRE (PHP <7.3)

/
^(?<ip_addr>((\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|((([\da-fA-F]{1,4}:){7})([\da-fA-F]{1,4})$|(([\da-fA-F]{1,4}:){1,6}:)(([\da-fA-F]{1,4}:){0,4})([\da-fA-F]{1,4}))|(::[\da-fA-F]{1,4})|(([\da-fA-F]{1,4}:){0,7}[\da-fA-F]{1,4}::)))$
/
mg

Description

Loading markdown...
Submitted by Alan - 7 years ago