Regular Expressions 101

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
({type}[12359])({sequence}\d{2})([\r\n])({payload}({number}\(\d{3}\)\s\d{3}-\d{4})(\s{3})(.{14})([\r\n])({houseNumber}[\s\d\w/-]{12})(\s)({street}.{51})({city}.{18})({state}\w\w)(\s)({esn}.{3})(\s)({serviceClass}VOIP)([\r\n])({name}.{32})({address2}.{20})(\sP#\s)({locationInfo}.{8})([\r\n])(ALT# )({mainNumber}.{15})(\s)(\QLEC:\E)({telco}[\w\s]{5})([\r\n]+)({esnText}[\s\w/\']+.*[\s\w/\']+)([\r\n])({x}[\+\-]?\d{0,3}[\.]?\d{0,6})(\s)({y}[\+\-]?\d{0,2}[\.]?\d{0,6}))
/

Description

no description available

Submitted by anonymous - 8 years ago