Relative Content

Tag Archive for javascriptregexnon-greedy

How to make w token act non-greedy in this RegEx?

I have a text string which contains a repeating pattern, each repetion separated by the next by the . (dot) character. The pattern may end in a _123 (underscore followed by a sequence of digits), and I want to catch those digits in a dedicated capturing group.