Hello All,
I am new to VBS I have one query regarding the find and replace the entire text file.So kindly help me in this regard will be thankful to all the members.
My Textfile contains the below mentioned lines for example:
1 .1.39 d:\Sandbox\BMW35UP_I390_1.422\Architecture\BSW\CobraModel\project.pj (1.39)
2 .1.39 d:\Sandbox\BMW35UP_I390_1.422\Architecture\BSW\CobraModel\CobraModel_rpy\project.pj (1.39)
3.1.38 d:\Sandbox\BMW35UP_I390_1.422\Architecture\BSW\CobraModel\CobraModel_rpy\CoreDep\project.pj
4./SCS/COBRA/04_Platform/02_Architecture/05_UmlModel/CobraModel/CobraModel_rpy/CoreDeployment/DualCore/DualCore.sbs 1.5 d:\Sandbox\BMW35UP_I390_1.422\Architecture\BSW\CobraModel\CobraModel_rpy\CoreDeployment\DualCore\Dua lCore.sbs
These are the four lines sample in text file there are around 30,000 lines in the same way.
my question is remove all the lines starting with (Example:1.39,etc(numbers)) and create a new text file with removing the above lines.
Hope i can get response very quickly.
Thank you
Sampath
I am new to VBS I have one query regarding the find and replace the entire text file.So kindly help me in this regard will be thankful to all the members.
My Textfile contains the below mentioned lines for example:
1 .1.39 d:\Sandbox\BMW35UP_I390_1.422\Architecture\BSW\CobraModel\project.pj (1.39)
2 .1.39 d:\Sandbox\BMW35UP_I390_1.422\Architecture\BSW\CobraModel\CobraModel_rpy\project.pj (1.39)
3.1.38 d:\Sandbox\BMW35UP_I390_1.422\Architecture\BSW\CobraModel\CobraModel_rpy\CoreDep\project.pj
4./SCS/COBRA/04_Platform/02_Architecture/05_UmlModel/CobraModel/CobraModel_rpy/CoreDeployment/DualCore/DualCore.sbs 1.5 d:\Sandbox\BMW35UP_I390_1.422\Architecture\BSW\CobraModel\CobraModel_rpy\CoreDeployment\DualCore\Dua lCore.sbs
These are the four lines sample in text file there are around 30,000 lines in the same way.
my question is remove all the lines starting with (Example:1.39,etc(numbers)) and create a new text file with removing the above lines.
Hope i can get response very quickly.
Thank you
Sampath