Beefy Boxes and Bandwidth Generously Provided by pair Networks BBQ
Think about Loose Coupling
 
PerlMonks  

Re^3: Regex pattern to find directories only with digits

by gurpreetsingh13 (Scribe)
on Jun 20, 2013 at 10:40 UTC ( #1039939=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Regex pattern to find directories only with digits
in thread Regex pattern to find directories only with digits

If you are on unix or similar shell, use:

ls|grep -P "^.*\d{8}.*"
-P in grep is for using perl regex within shell grep.


Comment on Re^3: Regex pattern to find directories only with digits
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (15)
As of 2014-04-18 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls