string manip node help

Hello everyone,

I’m needing some assistance on some regex for the string manipulation node. Can anyone edit this regex

^(?!(000|666|9))\d{3}-(?!00)\d{2}-(?!0000)\d{4}$

to work in the node. I’am wanting to extract social sec numbers from a pdf file. I tried to make it work using regex(replace but I can’t seem to get the correct syntax to work. Any help needed would be appreciated.(note: yes i know this regex expression is specific and wont extract socials starting with 000,666 or 9)