L
lover
\({0,1}(?<areacode>[0-9]{3})\){0,1}( /-){0,1}(?<prefix>[0-9]{3})(
/-){0,1}(?<suffix>[0-9]{4}).*
for matching phone numbers and replacing them with
(${areacode}) ${prefix}-${suffix}
it works awesome! if i type '8005551212' i get '(800) 555-1212'
the problem is, if i type 80055512121212121212, i also get '(800)
555-1212' ... but what i want to get instead is, 'no match'
how?
THANKS! =)
/-){0,1}(?<suffix>[0-9]{4}).*
for matching phone numbers and replacing them with
(${areacode}) ${prefix}-${suffix}
it works awesome! if i type '8005551212' i get '(800) 555-1212'
the problem is, if i type 80055512121212121212, i also get '(800)
555-1212' ... but what i want to get instead is, 'no match'
how?
THANKS! =)