Hiho Forum,
I'm trying to find a regex to do this transformation with StringRegExpReplace().
Input:
"c:\temp\test\_PCs\file_1.avi_PC.jpg"
Output:
"c:\temp\test\file_1.avi"
- Trailing text "_PC.jpg" is removed from string
- Parent directory "\_PCs\" is removed from string too
Can anybody help me out on this one
?
I'm trying to find a regex to do this transformation with StringRegExpReplace().
Input:
"c:\temp\test\_PCs\file_1.avi_PC.jpg"
Output:
"c:\temp\test\file_1.avi"
- Trailing text "_PC.jpg" is removed from string
- Parent directory "\_PCs\" is removed from string too
Can anybody help me out on this one
![:)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/autoit/smile.gif)