[Ilugc] How to delete multiple patterns from a text file easily?

  • From: tshrinivasan@xxxxxxxxx (Shrinivasan T)
  • Date: Sat, 7 Sep 2013 23:58:06 +0530

We need multiple strings replace in a text file.

Example.

Line one - 1
Line two - 2
Line three -3

Replace all 1,2,3 and - with space.

How to do this in a single command?

Other related posts: