Safari is a hoodie
[replace _ with * ]
:%s/_/*/g
Which is, replace all occurrences on all lines of '_' with ' *'EDIT: Talk about formatting fail...
(And you have less points than either of the ones above you? Seriously?)
Don't worry! I didn't feel like I needed to explain. But the formatting on HN is odd, and the rule on how to use asterisks is obscure and bizarre.
s|s/_/*| s/_/*|
And since I haven't debugged that regex even if it was legible, add two spaces to the beginning of a line to reproduce text verbatim. (Even if it's on one line.)Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5
vs
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5