Sign in to follow this  
Followers 0
Firoze

search pattern in C#

7 posts in this topic

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

0

Share this post


Link to post
Share on other sites

I can't tell what you are asking about. Will this help?

Cheers and Regards

0

Share this post


Link to post
Share on other sites

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?

0

Share this post


Link to post
Share on other sites

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 understand

So far, your one sentence questions just don't give enough information, at least for me.

Cheers and Regards

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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 by bphlpt
0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.