(?:^|\W) what is this regex used to find


Somewhere this regex was used. Can anybody explain what is the meaning of this regex step by step ?

(?:^|\W)

Answer

Please remember, when you see a regex expression, and don't understand it, please go here:

https://regex101.com/

and here is the thing i made:

https://regex101.com/r/J1KabE/1

Explanation said there would really help you.