Sausagefingers
Registered User.
- Local time
- Today, 15:39
- Joined
- Dec 14, 2006
- Messages
- 51
Hi,
I am having difficulty writing the expression that will extract a portion of a string.
I'm busy looking at examples but for the life of me, I can't seem to work out the combination I need to extract the portion I want
The string follows this format: ABC_12345_1, Or ABC_123456_1
Really, I just need the middle portion (between the underscores), the rest is redundant however, because the string may be either 5 or 6 digits, I'm struggling to find the correct expression.
Can someone offer me a solution. Any help would be appreciated.
Thanks in advance
I am having difficulty writing the expression that will extract a portion of a string.
I'm busy looking at examples but for the life of me, I can't seem to work out the combination I need to extract the portion I want
The string follows this format: ABC_12345_1, Or ABC_123456_1
Really, I just need the middle portion (between the underscores), the rest is redundant however, because the string may be either 5 or 6 digits, I'm struggling to find the correct expression.
Can someone offer me a solution. Any help would be appreciated.
Thanks in advance