Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Problem with regex ...

by johngg (Canon)
on Dec 26, 2012 at 18:07 UTC ( [id://1010413]=note: print w/replies, xml ) Need Help??


in reply to Problem with regex ...

Your data appears to be tabular in fixed-width columns so consider using unpack rather than regular expression captures. See pack for a description of how to construct a template to extract your data items.

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^2: Problem with regex ...
by LanX (Saint) on Dec 26, 2012 at 18:25 UTC
    Hei JohnGG

    Better don't spend your time repeating this, we already preached it!

    And the OP got brilliant answers with excellent code snippets. =)

    --> How we can do regex of this?

    @xMiDgArDx: please clarify your problem better, and use code tags there too. And in the future please link to older discussions about the same topic to avoid loss of energy.

    Cheers Rolf

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found