Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Pattern match from the end of string?

by toolic (Bishop)
on Oct 19, 2016 at 13:03 UTC ( [id://1174292]=note: print w/replies, xml ) Need Help??


in reply to Pattern match from the end of string?

Use the $ anchor instead of the ^ anchor:
/(\d+)$/

perlrequick

Replies are listed 'Best First'.
Re^2: Pattern match from the end of string?
by Anonymous Monk on Oct 19, 2016 at 13:06 UTC
    Great, many thanks to both !

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found