In find and select is there a command to delete all the line starting with the string “!”
Thank you
Delete all the line starting with the string "!"
mariosmic
#1
0 Likes
GWB
#3
It would be better to begin the find expression with ^ which is the regex character for beginning of line, Thus,
^!.*
should do it. If you ommit ^ it could find a ! that was not at the beginning of the line. If you want to work at the end of the line, $ is the regex character for end of line.
i
0 Likes
Yes. Your regex is more specific and better. Just did not put too much thought into it
0 Likes
mariosmic
#5
thank you very much. It work fine.
Is there a manual for working with sublime text search and regex character?
0 Likes