msampath
05-19-2014, 11:55 PM
Hello all,
I am having a text file with the following data.
d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\DOCS\Pu blic\TrimInfo\Canape\project.pj
d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\SOURCE\ project.pj
/SCS/SCS_Core_Based/08_Software/Application/ABS/ABS_GEN1/MAIN/APPLICATION/SOURCE/abs.h 1.9.1.1 d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\SOURCE\ abs.h
/SCS/SCS_Core_Based/08_Software/Application/ABS/ABS_GEN1/MAIN/APPLICATION/SOURCE/abs_calibration_database_sub.h 1.3.2.1 d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\SOURCE\ abs_calibration_database_sub.h
/SCS/SCS_Core_Based/08_Software/Application/ABS/ABS_GEN1/MAIN/APPLICATION/SOURCE/abs_conditional_switches.h 1.8.1.1 d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\SOURCE\ abs_conditional_switches.h
i want to implement regular expression for all the lines in a file
Regex pattern ="^ .*\n" and replace width =""
kindly help me in this regard..
Thanks & Regards,
Sampath
I am having a text file with the following data.
d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\DOCS\Pu blic\TrimInfo\Canape\project.pj
d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\SOURCE\ project.pj
/SCS/SCS_Core_Based/08_Software/Application/ABS/ABS_GEN1/MAIN/APPLICATION/SOURCE/abs.h 1.9.1.1 d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\SOURCE\ abs.h
/SCS/SCS_Core_Based/08_Software/Application/ABS/ABS_GEN1/MAIN/APPLICATION/SOURCE/abs_calibration_database_sub.h 1.3.2.1 d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\SOURCE\ abs_calibration_database_sub.h
/SCS/SCS_Core_Based/08_Software/Application/ABS/ABS_GEN1/MAIN/APPLICATION/SOURCE/abs_conditional_switches.h 1.8.1.1 d:\Sandbox\BMW35UP_Testview_I320\MainMicro\Application\Abs\Abs_Main\SOURCE\ abs_conditional_switches.h
i want to implement regular expression for all the lines in a file
Regex pattern ="^ .*\n" and replace width =""
kindly help me in this regard..
Thanks & Regards,
Sampath