Regular Expressions 101

Community Patterns

1

img

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 8 years ago
5

HTML img

ECMAScript (JavaScript)
Grabs all HTML tags
Submitted by Pirate11 - 8 years ago
1

id

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

gg

Python
no description available
Submitted by anonymous - 8 years ago

UK Postcode checker

1

Regular Expression
Python

r"
^(GIR ?0AA|[A-PR-UWYZ]([0-9]{1,2}|([A-HK-Y][0-9]([0-9ABEHMNPRV-Y])?)|[0-9][A-HJKPS-UW]) ?[0-9][ABD-HJLNP-UW-Z]{2})$
"

Description

Loading markdown...
Submitted by spookypeanut - 8 years ago