Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by Bindo (Acolyte)
on Jun 20, 2013 at 10:19 UTC ( #1039935=note: print w/ replies, xml ) Need Help??


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

Thank you very much good people. I totally understood the concept. You all are the best. By the way if I get a satisfactory answer to a thread that I have started is there a way of closing/locking it? Cos I receive lot of reminders from root saying that I'd have to reply ...etc. Im just a beginner gentlemen so please let me know if there are any rules that I should follow. thanks


Comment on Re^2: Regex pattern to find directories only with digits
Re^3: Regex pattern to find directories only with digits
by gurpreetsingh13 (Scribe) on Jun 20, 2013 at 10:40 UTC
    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://1039935]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2014-09-18 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (120 votes), past polls