Avatar of juststeve
juststeve

asked on 

Capture until non-digit is encountered

From:
  11Word0077NewWord99

Return 3 capture groups:
1=11Word
2= 0077
3=NewWord99

The first group can be found by:
  (.*?Word??)  // anything from bof thru the string 'Word'

The 2nd group will be an unknown number of digit characters

The 3rd will be whatever remains after the unknown number of digits have been consumed.

thx much



Regular Expressions

Avatar of undefined
Last Comment
juststeve

8/22/2022 - Mon