remove string between \****\abcdefghijklm
Posted: 17 Oct 2017 11:49
Hi all
I have a task like below:
input:
\T501-08680-0101-T3_Mockup_Generic_Scheme_Pack\T501-08680-0101\Application_Signing\Signed_Schemes\MockupSigned_T3\500007011000.S3S”
output:
\T501-08680-0101\Application_Signing\Signed_Schemes\MockupSigned_T3\500007011000.S3S”
Basically I would like to trim off the string from beginning \ and before next \ , like this case:
trim off:
\T501-08680-0101-T3_Mockup_Generic_Scheme_Pack
and this string is sometime longer or shorter...so we can not used fixed characters to do the job...
Any clue we can use \ and \ to trim off the string in between...
Thanks
I have a task like below:
input:
\T501-08680-0101-T3_Mockup_Generic_Scheme_Pack\T501-08680-0101\Application_Signing\Signed_Schemes\MockupSigned_T3\500007011000.S3S”
output:
\T501-08680-0101\Application_Signing\Signed_Schemes\MockupSigned_T3\500007011000.S3S”
Basically I would like to trim off the string from beginning \ and before next \ , like this case:
trim off:
\T501-08680-0101-T3_Mockup_Generic_Scheme_Pack
and this string is sometime longer or shorter...so we can not used fixed characters to do the job...
Any clue we can use \ and \ to trim off the string in between...
Thanks