Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Remove blank lines from REGEX output

by Deep_Plaid (Acolyte)
on Feb 05, 2014 at 21:08 UTC ( [id://1073606]=note: print w/replies, xml ) Need Help??


in reply to Re: Remove blank lines from REGEX output
in thread Remove blank lines from REGEX output

Thanks for your fast and thoughtful reply, Kenosis. I really appreciate the way you broke down the regex line with an explanation - it was very helpful. I've added this code and it's working. I'm still not quite sure why my original attempts didn't work - I couldn't get them to work without .*, thinking I needed a wildcard to account for the rest of the string, but it makes sense that this approach was leaving in /n. Thanks again.

  • Comment on Re^2: Remove blank lines from REGEX output

Replies are listed 'Best First'.
Re^3: Remove blank lines from REGEX output
by Kenosis (Priest) on Feb 05, 2014 at 21:16 UTC

    You're most welcome, Deep_Plaid! Am glad it worked for you.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1073606]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 22:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found