No, that wouldn't work. First you can't format like that inside of the native. That native actually replaces the line you specify, and when you set the replacing string to "", the line is obviously emptyed. Somehow if you want to delete/change some specific string istead of some line, you should read the file, then delete everything you want and after that write it back to the file.