In this regular expression example, we will learn to remove lines with spaces using REGEX in Notepad++. We will use the search and replace feature, with regular expression search mode enabled (REGEX). It is fairly easy to do. Here is an example.
1. 2019-01-23 (301DE72) (51DD8C0A)
2. 2019-01-21 (054D0EB) (74A29885)
(23F1101) (1F88A8F4)
3. 2019-01-12 (992AE28) (22D964F8)
4. 2019-01-18 (4EA7F5B) (6A8BF6F1)
(217CD9E) (17C7F8F5)
(98D9356) (2DD70AEF)
5. 2019-01-21 (838B2A8) (38ACBD8B)
6. 2019-01-29 (81EDABD) (2EF1E1E1)
We will use search and replace features in Notepad++. Below are steps.
STEP 1:
Use SEARCH AND REPLACE:
Search For: "^\s.*$"
Replace with: Empty
STEP 2: Edit ... Line Operations ... Remove Empty Lines
#RemoveLinesWithSpaces #RegularExpressionExample
---
🚩 Subscription link: 🚩
/ @amitchristian
🚩 Checkout My other playlists 🚩
Notepad++ HTML tutorials, • NOTEPAD++ HTML TUTORIALS for BEGINNER...
Notepad++ tips and tricks, • Notepad++ TUTORIALS FOR BEGINNERS - P...
Notepad++ Themes, Fonts, Look and Feel, • Notepad++ Themes, Dark Mode, Fonts, I...
Notepad++ One Minute Challenge, • Notepad++ Tips & Tricks
---
🚩 please LIKE or SUBSCRIBE.
🚩 Please COMMENT If You Like To See Any Video On Specific Topic
Music Credits:
––––––––––––––––––––––––––––––
Track: Our Leaves in the Breeze — Artificial.Music [Audio Library Release]
Music provided by Audio Library Plus
Watch: • Our Leaves in the Breeze — Artificial...
Free Download / Stream: https://alplus.io/our-leaves-breeze
––––––––––––––––––––––––––––––