Divakar has asked for the wisdom of the Perl Monks concerning the following question:
My variable contains below value which has "install_temp" or "install_patch" folder.
D:\ostore_7.3.0_tfix_bld\install_temp\OStore\bin\os_coll.adb
i need to change the "install_temp" or "install_patch" folder to "install" like below.D:\ostore_7.3.0_tfix_bld\install_patch\osji\lib\osjiload.ldb
D:\ostore_7.3.0_tfix_bld\install\OStore\bin\os_coll.adb
D:\ostore_7.3.0_tfix_bld\install\osji\lib\osjiload.ldb
i am not sure how can i make this using regular expressions?
Thank you...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Need help to substitute
by 2teez (Vicar) on Oct 04, 2012 at 13:40 UTC | |
Re: Need help to substitute
by nemesdani (Friar) on Oct 04, 2012 at 13:29 UTC | |
Re: Need help to substitute
by Athanasius (Archbishop) on Oct 04, 2012 at 14:49 UTC |