Find a blank row from thousands of rows

111 Views Asked by At

I have around 2 million of rows need to find all the empty rows.

AKRAM          AHMED
SSYED          Aakram     ahmed
(need to find this empty row)
james          hetfield     metallica
2

There are 2 best solutions below

0
On
/^\s*$/ #will match only line containing spaces or nothing.  
1
On

Search for this regex : \\n\s*\\n

It will search for lines containing only white spaces or nothing.