Firoze Posted December 14, 2013 Share Posted December 14, 2013 hi,i wanna rssearch about search pattern.....as u know we use some characters as filters in our codes that called Search pattern( like *.jpg"|"*.txt"|"*.asp"|"*.css"|"*.cs",..... )....i need mor information about...PLZ help me Link to comment Share on other sites More sharing options...
Firoze Posted December 15, 2013 Author Share Posted December 15, 2013 nobody can help me?! Link to comment Share on other sites More sharing options...
bphlpt Posted December 15, 2013 Share Posted December 15, 2013 I can't tell what you are asking about. Will this help?Cheers and Regards Link to comment Share on other sites More sharing options...
Firoze Posted December 15, 2013 Author Share Posted December 15, 2013 THX dear bphlpt , but it's regular expression, i need know about search patterns that work as a filter in codes, specially in C# codes....Are u know about? Link to comment Share on other sites More sharing options...
bphlpt Posted December 15, 2013 Share Posted December 15, 2013 Sorry, I just don't understand what you are asking. Maybe it's because I don't use C# much if at all lately. Hopefully someone else can understand your needs better than I can. You might also try giving some examples of:* verbally describe the concept of what you want to do* show the code you tried* describe the results you expected* explain what you got instead* give links to other examples, tutorials, etc that you looked at that you don't understandSo far, your one sentence questions just don't give enough information, at least for me.Cheers and Regards Link to comment Share on other sites More sharing options...
Firoze Posted December 15, 2013 Author Share Posted December 15, 2013 well unfortunately i know a little about beacous of that i ask my question here, may some one know more and help me. as i know. for example in C# code, we use some filters(Search pattern) that help u to find different files or etc. it's a kind of regular expression bout not the exact meaning. for example in code bellow,string pattern = "*.gif|*.jpg";FileInfo[] files = dir.GetFiles(pattern);u can see how we use this search pattern. it 's a sample test, i wanna know more than this. Link to comment Share on other sites More sharing options...
bphlpt Posted December 15, 2013 Share Posted December 15, 2013 (edited) I don't understand. What exactly do you want to know? If you want to know more about the options available for "dir.GetFiles", then enter "c# dir.getfiles" in your favorite search engine and read. Or go find a book or tutorial about C# or take a class. Your questions are too vague for us to offer you any more help.Cheers and Regards Edited December 15, 2013 by bphlpt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now