Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Parsing a Word placed between special characters

by toolic (Bishop)
on May 01, 2013 at 18:22 UTC ( [id://1031627]=note: print w/replies, xml ) Need Help??


in reply to Parsing a Word placed between special characters

use warnings; use strict; while (<DATA>) { print "$1\n" if /\\\[(\w+)\\]/; } __DATA__ test\[abc\]test test\[cde\]test test\[ack\]test

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found