REGEX To Find File -


i'm trying come regex statement searches

e:\5year\logs\text\date\text.nsdq2.trans.log.gz  

in

09/29/2006 09:17:41  adding file e:\6year\logs\text\date\text.nsdq2.trans.log.gz 

so far have this

[a-z]:\\dyear\logs\.+ 

to find

you need put double backslash match single backslash character.

\b[a-z]:\\\dyear\\logs\\.+ 

or

\b[a-z]:\\\d+year\\logs\\.+ 

Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

php - Mongodb connectivity error -