I'm trying to clean up a log file for better readability - there's a load of un-necessary stuff there to my needs - i basically have to replace sshd[xxxx] where xxxx is an arbitrary number with, well, either a space or nothing. While i can replace a known string, i have no idea how to do a sed wildcard in this case- So- how do i do that?
|
feedback
|
|
its not clear whether you want the replace the "sshd" as well, so i assumed you it is.
otherwise,
| |||
|
feedback
|
|
You are looking to replace all numbers after So for your case the regexp to replace numbers with zeros would be
where the For regexp operators like | |||||||||||
feedback
|