sed command to replace two character pattern with another pattern

Not able to paste my content. Please see the attachment :frowning:

Why do you have quotes on the asterisk?

Try

sed 's/, *;/;/g'
1 Like

thanks :slight_smile: its working.. not able to copy paste again. hence attaching file. The page just expires if i copy paste something :frowning: