Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Pattern replace in a file nameby kaushik9918 (Sexton) |
on Mar 28, 2019 at 09:33 UTC ( [id://1231789]=note: print w/replies, xml ) | Need Help?? |
the problem with your suggestion is it truncates the file path after the first instance of a digit, so my output looks like /fd/gfree/tere/frf4 /fd/gfree/tere/frf4 /fd/gfree/tere/frf4 Whereas I wanted the output to be /fd/gfree/tere/frf4545/geerg/fds/0.1 /fd/gfree/tere/frf4545/geerg/dfds/5.9 /fd/gfree/tere/frf4545/geerg/dsad/02.44
In Section
Seekers of Perl Wisdom
|
|