{"id":9383,"date":"2021-12-01T11:47:03","date_gmt":"2021-12-01T11:47:03","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=9383"},"modified":"2021-12-01T11:48:10","modified_gmt":"2021-12-01T11:48:10","slug":"batch-file-to-remove-characters-in-a-txt-file","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/batch-file-to-remove-characters-in-a-txt-file\/21347.html","title":{"rendered":"Batch File To Remove Characters In a Txt File"},"content":{"rendered":"<p>Hey guys,<\/p>\n<p>I&#8217;ve seen lots of postings on this subject, but none that matches my requirement. So:<\/p>\n<p>I have a text file where lines look like this one:<\/p>\n<p>E1532 C1010 A0000 52112 10 89332.182 80687.132 89332.182 86450.499<\/p>\n<p>I would need a batch script (Windows XP) that removes the letters and leaves only the numerical characters. String are &#8220;tab&#8221; delimited, so I would like for the &#8220;tabs&#8221; to still remain in there (later import in another application).<\/p>\n<p>Given that the file has thousands of lines, and that I can only use batch scripting, any help would be greately apreciated.<\/p>\n<p>Thanks a lot.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":40},"question-category":[55],"question_tags":[],"class_list":["post-9383","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/9383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=9383"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=9383"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=9383"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=9383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}