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
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
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER