Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to remove one specific row in a textfile?
#1
Solved: 11 Years, 4 Months ago
Hi All,

Can anyone provide solution for the below mentioned problem?

There is a web page, which has got 2 pages of Text. 1.Agreement 2.Policy

My task is to write the text from 1.agreement without spaces,tabs and also 2.Policy in a different file. then I need to concatenate both these files

I am able to extract the complete text into a Notepad/text file. but, there are two strings "Document selection", "area/region selection" at the end of this text in both the pages. I need to remove this "Document selection and Area/region selection" lines before I concatenate both of these files.

I need to do this exercise for 10 different countries Asia, Africa, US, Korea, Japan, Austrialia, New Zealand, UK, Russia and France.

Please provide code/solution for the above scenario.

Thanks,
kishore
Reply
#2
Solved: 11 Years, 4 Months ago
while merging when you find this text replace iwht ""

try to write to megre file line by line
Reply
#3
Solved: 11 Years, 4 Months ago
Thanks for your help Surya!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to remove the spaces from a string Anand 7 29,409 08-12-2019, 04:47 PM
Last Post: sreekanthP
Question How to open IE/Chrome/Firefox with a specific size? DarkestAmadeus 0 2,046 07-19-2018, 05:38 AM
Last Post: DarkestAmadeus
  How to remove text in the webedit silpavinod 3 13,766 07-12-2018, 11:08 AM
Last Post: vijaychourasiya0109@gmail.com
  DataGrid: double click on selected row robertosalemi 0 4,428 05-12-2016, 03:00 PM
Last Post: robertosalemi
  Row count is always shown as 1 Harry1999 0 2,085 04-14-2016, 11:11 PM
Last Post: Harry1999

Forum Jump:


Users browsing this thread: 1 Guest(s)