Added a note about regex replacement keeping part of original string