Answer the question
In order to leave comments, you need to log in
How to select only certain lines in Sublime or NotePad?
Suppose there is such a code (only it is more than 100 times)
<url>
<loc>http://www.smartavi.com/</loc>
<changefreq>always</changefreq>
</url>
<url>
<loc>http://www.smartavi.com/blog</loc>
<changefreq>always</changefreq>
</url>
<url>
<loc>http://www.smartavi.com/static/digital_signage_faq.htm</loc>
<changefreq>always</changefreq>
</url>
Answer the question
In order to leave comments, you need to log in
highlight the common part. for example "http://" through ctrl+D select all these common parts. then with the shift pressed, press the end key. without releasing the shift, you release from the selection < / loc > with the left arrow. well, actually everything.
ps it's in the sublime
Well, or CRTL + F, turn on regular expressions and write or look for a suitable regular expression that will "mark" these very links
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question