Created
July 5, 2013 07:38
-
-
Save umidjons/5932707 to your computer and use it in GitHub Desktop.
RegExp Tips in Notepad++
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put '); before EOL | |
# CTRL+H, Regular Expression is checked | |
Find what: (\r\n) | |
Replace with: '\);\1 | |
# Put INSERT INTO table VALUES( before every digits at the beginning of the line | |
Find what: ^(\d+) | |
Replace with: INSERT INTO table VALUES\(\1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment