Regular Expressions 101

Sponsors

Library entries

0
pcre2

Fetch Username and IP

Splunk
Submitted by anonymous - 14 days ago
0
pcre2

HTML Tag Selector

T
Submitted by Rahul - 15 days ago

Address Parser

Vote

0

Regular Expression
javascript

/
(?<Street>\d.+(?:court|ct|street|st|drive|dr|lane|ln|road|rd|blvd))(?:,\W*)((?<Suite>\w.+?)(?:,\W*))?(?<City>\w.+?)(?:,\W*)(?<State>[a-z]+)(?:\W*)(?<Zipcode>\d{5})
/
gmi

Description

Loading markdown...
Submitted by anonymous - 3 years ago