[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

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



0
juststeve
Asked:
juststeve
1 Solution
 
käµfm³d 👽Commented:
Something like this, I take it?

(.*?Word)(\d+)(.*)

Open in new window

0
 
juststeveAuthor Commented:
appreciated
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now