Re: How to filter out lines from a variable that has multi-lines?
mike <needpassion@xxxxxxxxx> wrote:
suppose a variable $a has multi-lines, e.g.
happy
new
new password
year
get password of micky
LOL
What is best way to filter out lines that have "password" involved?
$a =~ s/.*password.*\n//g;
--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
.
Relevant Pages
- Running full legal - advice anyone?
... If I hear someone I want to talk to, I like to be able to grab the mike and reply. ... Through the filter the harmonics are acceptable, -70 dBc or so, but on lower bands the harmonics go straight through the filter and are likely to QRM the band above the one you're using. ... This could be a niche market for a G or EI manufacturer. ... As you can see at HF I have an all-black-box idiot-proof setup of legoboxes bolted together. ... (uk.radio.amateur) - Re: Filtering AFN mk3 [Xnews]
... I'd like to use what Mike Dee has posted or to use a rewritten ... Could you post a suggested block of filter statements in the way Mike ... score file. ... (news.software.readers) - Re: License Theft
... Though if I had have seen you online in the few days after I would have cancelled some of your posts. ... >>I've been told it's Mike B. ... > word is on the filter lists. ... (microsoft.public.windowsxp.general) - Re: OT - I want SPAM.
... > | Mike O'Donnell ... I thought about using some of the mount of junk mail we're currently ... setting up a filter system. ... outside source (like a hotmail account), the ISP for the source account ... (rec.woodworking) - Re: Spam Filtering HELP
... > Hi Mike, ... >> Spam Server Prox which in my opinion, was a complete waste of money ... >> Filter under Message Delivery to block messages based on IP ... >> mail proxy, it blockes nothing. ... (microsoft.public.exchange.setup) |
|