Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / November 2003

Tip: Looking for answers? Try searching our database.

Wildcard Find in Files - possible??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sunil - 10 Nov 2003 18:02 GMT
Hi!

I want to do a find in files in my vc project,
and the search criteria is any string (enclosed
withinin " " characters which is having an 'i' character
within the string...

For example, the search should return
_T("Digital") but not _T("Analog")
"Objectid" but not "Object" etc. etc.

Any ideas??

Thanks in Advance!
Sunil
Fiona Fung - 30 Nov 2003 19:21 GMT
Hi Sunil,

Yes, this is certainly possible.  If you want to use wildcards, try the
following find criteria (include the quotes):
"*[i]*"

In explaining this find critera, I will enclose all of the symbols in <>

The above find criteria will tell find to look for a quote <"> followed by
any one or more character <*> followed by one or more occurances of i <[i]>
followed by any one or more character <*> followed by a quote <">

Or, with regular expressions, this find criteria should also work:
".*[i].*"

This regular expression tells find to look for a quote <"> followed by any
character that occurs zero to many times <.*> followed by any occurance of
i <[i]> followed by any character that occurs zero to many times <.*>
followed by a quote <">

Regards,
Fiona

--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
>Content-Class: urn:content-classes:message
>From: "Sunil" <suniltg@achayans.com>
[quoted text clipped - 31 lines]
>Thanks in Advance!
>Sunil

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.