cbustaam
cbustaam

Reputation: 3

Batch to find and replace

I need to replace all occurrences of a specific string with a blank space. More precisely, I need a batch file to find all "NaN" in a text file, and replace it with " " (a blank space). How can I do this?

Bests

CB

Upvotes: 0

Views: 345

Answers (1)

ghostdog74
ghostdog74

Reputation: 342363

if you can download stuff, you can use GNU sed example

sed -i.bak "s/NaN/ /g" file

Upvotes: 1

Related Questions