How to do mysql find replace

How to do mysql find replace

How to do mysql find replace. So today, we have a need to modify entries in our mysql database. We need to find a pattern (a word) on each record and replace with another pattern, so its like find and replace. unfortunately, this cannot be done with ordinary update command :-( as it will replace the whole content. (more…)...
Read More
find and replace on vim

find and replace on vim

find and replace on vim. for those who use vim, there is a feature on vim that you can use to do find and replace. This feature (find and replace) is a standard ability that every text editor should have, including vim. for example, many files that are edited using default windows texteditor on windows machine will have "^M". this annoying end-pf-line character, will give error when the script is run under linux. therefore, you need to edit the file and do find and replace on that file, and vim can do that for you. (more…)...
Read More