Improve auto replace : add regular expressions in internal search and replace