Hi,
I have list of directories and
java files.
/usr/com
/usr/com/file1.java
/usr/com/file2.java
/usr/com/regexdir1
/usr/com/regexdir2
/usr/com/regexdir1/file3.java
/usr/com/regexdir2/file4.java
For selecting lines ending with ".java", I will use regular expression "*.java"
But for selecting list of directories, I am aware that I should select all the lines that does not match the
pattern "*.java"
How will I express this in regular expression?
Any help on this is greatly appreciated. Please help.
Thanks,
T.Kingsly