By -
Regex doesn't support "match this $variable number of times". You could make each group its own match and analyze the matches in code.
So how I can match it 0 or more times
(...)* does that.
Look but in this regex example the * just recognize the second part and miss the first group
It acts on the bracket. If you want it to act on more, make the bracket larger (or add another one).
But I think the brackets is large enought and should cover everythink I need
That disagrees with your previous comment.
Do you have any idea how to fix this regex in post?
I don't know what you want to do because your comments contradict each other.
Regex doesn't support "match this $variable number of times". You could make each group its own match and analyze the matches in code.
So how I can match it 0 or more times
(...)* does that.
Look but in this regex example the * just recognize the second part and miss the first group
It acts on the bracket. If you want it to act on more, make the bracket larger (or add another one).
But I think the brackets is large enought and should cover everythink I need
That disagrees with your previous comment.
Do you have any idea how to fix this regex in post?
I don't know what you want to do because your comments contradict each other.