Beefy Boxes and Bandwidth Generously Provided by pair Networks
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039939]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2016-12-06 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (96 votes). Check out past polls.