Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Cleaning file

by mk. (Friar)
on Aug 22, 2006 at 14:16 UTC ( #568860=note: print w/replies, xml ) Need Help??


in reply to Re: Cleaning file
in thread Cleaning file

sorry, i don't actually get what you're trying to achieve with this regexp. it only replaces one or more spaces with the expression "^[A-Z][0-9]". perhaps you meant this?!
perl -i -pe 's/.//g' filename

but i think the best way of doing this should be pileofrogs's idea.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"one who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever."

mk at rio dot pm dot org

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2022-01-18 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (53 votes). Check out past polls.

    Notices?