Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Complex Regex

by toolic (Chancellor)
on Jul 13, 2012 at 13:42 UTC ( #981624=note: print w/ replies, xml ) Need Help??


in reply to Complex Regex

s///

use warnings; use strict; while (<DATA>) { chomp; s/ ^ [0-9a-z]{3} $ /hi/xi; print "$_\n"; } __DATA__ ABC GHR 1DF uy6 fore

See also:


Comment on Re: Complex Regex
Download Code
Re^2: Complex Regex
by Anonymous Monk on Jul 13, 2012 at 13:52 UTC
    Wonderful toolic!!!!!!!!! it works great..thanks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2013-05-22 02:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (453 votes), past polls