Поиск и удаление пустых строк

Для оптимизации кода приходится часто удалять пустые строки. Для облегчения поиска и удаления пустых строк в коде можно использовать редактор Sublime Text.

Нужно открыть документ редактором, нажать сочетание клавиш ctrl+H, затем в поле Find What ввести символы ^\n 

При этом поле Replace With оставить пустым. Также нужно выделить пункт «Регулярные выражения».

Жмём Replace All и готово!

удаление пустых строк

Share this post

Comments (8)

  • israel-lady.co.il Reply

    The next time I read a blog, Hopefully it does not fail me just as much as this particular one. I mean, Yes, it was my choice to read through, but I truly believed youd have something helpful to talk about. All I hear is a bunch of moaning about something you could possibly fix if you werent too busy seeking attention.

    2 апреля, 2022 at 23:38
  • romantik69.co.il Reply

    Very nice write-up. I definitely appreciate this site. Thanks!

    4 апреля, 2022 at 11:37
  • israelxclub.co.il Reply

    Im excited to discover this web site. I need to to thank you for ones time for this wonderful read!! I definitely savored every bit of it and I have you bookmarked to look at new information in your web site.

    6 апреля, 2022 at 11:09
  • Качественные Wordpress ссылки в комментариях Reply

    Качественные WordPress ссылки в комментариях от 5000 уник. доменов заказать здесь .

    8 апреля, 2022 at 14:30
  • Quality Wordpress links in the comments Reply

    Quality WordPress links in the comments from 5000 uniques. domains order here.

    8 апреля, 2022 at 20:54
  • Writing Articles with Artificial Intelligence Reply

    I don’t need to tell you how important it is to optimize every step in your SEO pipeline. But unfortunately, it’s nearly impossible to cut out time or money when it comes to getting good content. At least that’s what I thought until I came across Article Forge… Built by a team of AI researchers from MIT, Carnegie Mellon, Harvard, Article Forge is an artificial intelligence (AI) powered content writer that uses deep learning models to write entire articles about any topic in less than 60 seconds. Their team trained AI models on millions of articles to teach Article Forge how to draw connections between topics so that each article it writes is relevant, interesting and useful. All their hard work means you just enter a few keywords and Article Forge will write a complete article from scratch making sure every thought flows naturally into the next, resulting in readable, high quality, and unique content. Put simply, this is a secret weapon for anyone who needs content. I get how impossible that sounds so you need to see how Article Forge writes a complete article in less than 60 seconds! order here.

    9 апреля, 2022 at 12:39
  • נערות ליווי בחיפה Reply

    I was pretty pleased to discover this great site. I need to to thank you for your time for this particularly fantastic read!! I definitely appreciated every part of it and I have you book marked to see new stuff on your blog

    12 апреля, 2022 at 13:03
  • נערות ליווי Reply

    I was extremely pleased to discover this page. I want to to thank you for ones time due to this wonderful read!! I definitely appreciated every part of it and I have you bookmarked to look at new information on your web site.

    14 апреля, 2022 at 21:59

Добавить комментарий

Ваш адрес email не будет опубликован.