Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Perl Regex Match (Compare Only AlphaNumeric)

by daxim (Chaplain)
on Aug 23, 2013 at 11:09 UTC ( #1050637=note: print w/ replies, xml ) Need Help??


in reply to Perl Regex Match (Compare Only AlphaNumeric)

The difference between the input and the desired output is the first two lines of the input. Simply remove them with the substitution operator:

$data_main =~ s {\AThe ideal Rack cleaning support candidate is dedicated to provi +ding outstanding customer service every day[.]\n\n} {}ms;

If that's not what you want, you have to explain your problem more clearly.


Comment on Re: Perl Regex Match (Compare Only AlphaNumeric)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2014-07-12 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (239 votes), past polls