I'm want to implement optional chaining throughout an existing javascript project.
I would run a regex search on IDE to find all eligible instances where optional chaining can be applied.
What can be the correct regex pattern for this?
I currently want to focus on these 2 patterns:
x.x
x._x