Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2016-06-29 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (388 votes). Check out past polls.