hi,
i need help to research about search pattern,as u know we can use some search pattern for searchoin in our codes like.jpg"|".txt"|".asp"|".css"|"*.cs", I wanna know more about, how many search pattern exist? ...
Firozeh
0
Newbie Poster
Recommended Answers
Jump to PostHi Firozeh, welcome here at DaniWeb.
I guess you need to know more about regular expressions, called Regex
Jump to PostHi Firozeh,
Adding to what ddanbe just said:
If you're searching for files in some directory, you can use the following:System.IO.Directory.GetFiles("dire_path", "*.cs")
EDIT:
You can use two search patterns in the previous command:
*: Zero or more characters.
?: Exactly zero or one character.More …
Jump to PostDo you mean file extensions?
All 12 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
The Diamonds
15
Newbie Poster
Firozeh
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Fenrir()
52
Newbie Poster
Firozeh
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
The Diamonds
15
Newbie Poster
Firozeh
0
Newbie Poster
The Diamonds
15
Newbie Poster
Firozeh
0
Newbie Poster
The Diamonds
15
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.