G
Guest
I have the following words, and I want to extract the first part and the
trailing numbers.
OP001 => ABC, 001
ST02 => CD, 02
00A => 00A, null
I have the following regular express:
(?<first>.*?)(?<second>\d+)
This one works well for the given first two examples but not the third one.
And (?<first>.*?)(?<second>\d+)$ returns strange result.
trailing numbers.
OP001 => ABC, 001
ST02 => CD, 02
00A => 00A, null
I have the following regular express:
(?<first>.*?)(?<second>\d+)
This one works well for the given first two examples but not the third one.
And (?<first>.*?)(?<second>\d+)$ returns strange result.