Fixed missing global flag on replace regex;
Minor change to readme.