I want to delete a string "www.yahoo.com" only if the line starts with assign where host.name in [ and ends with ] and also if the string followedis followed by comma(,) i need I need to delete that comma as well
assign where host.name in [ "www.google.com","www.yahoo.com","www.facebook.com" ] My output should lookslook like
assign where host.name in [ "www.google.com", "www.facebook.com" ] I dontdon't know how to achieve this, Kindly. Kindly give me some idea about this code.