I searched a lot, but never found an answer to my question, and I'm desperate.
I would like to get all dots ( '.' ) between parenthesis wherever they are, and with and undefined number of parenthesis. The problem is that I can just get the first dot, but I don't know how to get all in the same group.
I tried this : \((?:[^\.]*)([\.])(?:[^\.]*)*\)
But it just works if there's just one dot.. Any idea please ?
Try this:
(\(|(\.)|\))
example: http://regex101.com/r/jV5yI0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With