how to replace all occurrences of regex as if applying replace repeatedly,"""""""\\1 xby """""""