Regex to find PIN

Hello,

I am trying to create a regex to find a pin code with this pattern:

pin=1234
or
pin:1234
or
pin 1234
or
“pin”=1234
or
“pin”:1234
or
“pin” 1234

I know that I can find 1234 with [0-9]{4}.
But how can i find the first part of my expression?

Here’s one option:
(pin|["“]pin["”])[ =:][0-9]{4}