Try this:

        ^\s*?$


> On Jan 11, 2017, at 7:59 PM, Mike Pullen <[email protected]> wrote:
> 
> ^\s*$ does not work for me in BBEdit.  BBEdit does not find the empty lines 
> that proceeds the line containing "four" or the line containing "six" in my 
> test file.
> 
> This perl one-liner works: perl -pe 's/^\s*$//' test.txt.  I think the same 
> regex should work in BBEdit but doesn't on my system.  I'm using BBEdit 
> 11.6.4 and had the same results with 11.6.3.
> 
> Could someone try the regex in BBEdit and let me know if it works for them?
> 
>> 
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit 
> <http://www.twitter.com/bbedit>>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/bbedit 
> <https://groups.google.com/group/bbedit>.
> <test.txt>

-- 
Rod Buchanan
Kelly Supply Company
1004 W Oklahoma Ave
Grand Island, NE 68802-1328
308 382-8764 x1120

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to