I want to replace the following strings:
chrome, internet explorer, mozlla, opera
or
john, jack, jill, bill
with
?, ?, ?, ?
I need a regular expression for Java which can replace the above string. Find all words and replace with question marks