I tried to use the editor ctrl+r with regular expressions to replace commas with new lines.
i tried \n and \\n and it did not work.
how can i do it?
replace commas of sql with newlines
The replacement string is never a regular expression, and things like \n \t and maybe more should be usable with or without having the regular expression option activated. Found this issue report for Lazarus, which probably helps me with some code change for SynEdit.
Code modification/commit
fe2d514
from ansgar.becker,
13 years ago,
revision 6.0.0.3928
Add support for \t and \n for replacement in search+replace dialog. Accepting a multi line bug in SynEdit, which forces the user to search backwards when using \n in replacement. See http://www.heidisql.com/forum.php?t=8977
Code modification/commit
da96a7c
from ansgar.becker,
13 years ago,
revision 6.0.0.3929
Implicitly activate backwards search when replacement string contains \n, to overcome the multi line bug described in previous commit. Suggestion from michaelgang, see http://www.heidisql.com/forum.php?t=8977
Please login to leave a reply, or register at first.