Regex to extract both SSN with dash and without dash

https://regex101.com/r/o4RvFz/1 . Thanks
output :

166 72 1178
183-80-8799

in general like this:

but missing Your has to be handled (yellow mark)

it should only get ssn after Your social secutity number text and would not include the ones in yellow @ppr .

ok, then give a try on provided pattern

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.