Regular Expressions 101

Sponsors

Library entries

1
pcre

Lockbox Sätze #2

no description available
Submitted by anonymous - 6 years ago
0
pcre

Lockbox Sätze

no description available
Submitted by anonymous - 6 years ago
1
javascript

number

no description available
Submitted by anonymous - 6 years ago
0
pcre

Trim string

no description available
Submitted by anonymous - 6 years ago
0
pcre

Match Apache log line

no description available
Submitted by anonymous - 6 years ago
0
pcre

VID file prognose

no description available
Submitted by anonymous - 6 years ago
0
pcre

Больше 250

no description available
Submitted by anonymous - 6 years ago
1
javascript

dd-MM-yyyy validation

no description available
Submitted by anonymous - 6 years ago
0
pcre

MyTelephoneNumberRegex

no description available
Submitted by anonymous - 6 years ago
1
python

parsing objdump output

parsing objdump output
Submitted by anonymous - 6 years ago

Australian Street Parser

Vote

0

Regular Expression
pcre

/
\A\s* (?: ######################################################################### # Matches against Australian postal addresses # [<floor> <number>] # [<unit type>] [<unit>] <house number> <street name> <street type> # [<anything trailing> ######################################################################### (?:(?P<c_level_type>level|lvl|floor|flr)\s*(?P<c_level_number>\w+),?\s*)? # Level (floor, etc) \s*,?\s* # Optional comma (?:(?P<c_unit_type>[[:alpha:]][\w-']*)?\s*)? # Type (suite, unit, etc) (?:(?P<c_unit_number>[\w\.]*(?!\d))\s*[,\/]*\s*)? # Unit (?P<c_house_number>\pN+[[:alpha:]]?(?:\s*[-\/\pP]\s*\pN+[[:alpha:]]?)*) # House number \s*,?\s* # Optional comma (?P<c_street_name>[\w-\s]*?) # Street name \s+ \b(?P<c_street_type>fire\s*track|right\s*of\s*way|service\s*way|shopping\s*centre|state\s*highway|\w{2,})\b # Street type (?:\s*\R+(?P<c_trailing>.+))? # Trailing data not captured ) \s*\Z
/
xuigs

Description

Loading markdown...
Submitted by Ian Heggaton pixelated.com.au - 6 years ago