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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -