Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Problem with regex ...

by johngg (Abbot)
on Dec 26, 2012 at 18:07 UTC ( #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


Comment on Re: Problem with regex ...
Re^2: Problem with regex ...
by LanX (Canon) 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
Node Status?
node history
Node Type: note [id://1010413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-09-19 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (133 votes), past polls