TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jesse Smith
NA
1
0
Advanced string searching
May 24 2010 3:10 PM
I need some help with doing some advanced string searching. I'm writing a program that will allow the user to input text to search for, then the program scans files and returns a list of the files containing the text. I want it to work similar to how indexing works, but I will be searching non-indexed locations and doing some things that indexing can't. The user might enter in a complex string like 'fred barney "frog lake"', which would only match files containing "fred" and "barney" and the exact string "frog lake" (case insensitive for all). I'd like to be able to accept AND and OR keywords but could live without that if it's too tough. I think that some sort of conversion to a regular expression is what I need, but I'm not comfortable enough with them to know what I'm doing.
Can you help me with ideas for how to do this, and regular expressions if that's the best way? Thanks!
Reply
Answers (
0
)
Reg: Binding an XML file to TreeView using Silver Light
MultiThreading Calls to a Web Service for consumption