a tools that you can write regular replacement in java just like in javascript