Answer the question
In order to leave comments, you need to log in
Regular expression find 0?
Find
zeros 123050 0 0 12506 0
We need to find only 0, no spaces.
upd: It turns out 3 zeros must be found.
Answer the question
In order to leave comments, you need to log in
/\b([0])\b/g
Demo: https://regex101.com/r/LNh42G/1
Unlike the solution suggested by AnnaVel , will also find 0
at the beginning of the string.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question