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 / Languages / VB.NET / October 2007

Tip: Looking for answers? Try searching our database.

Help with RegEx

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt - 22 Oct 2007 23:42 GMT
I'm trying to write something of a search pattern using RegEx in VB.NET.
Reading through the documentation, I'm not able to put the puzzle together.
Any help would be appreciated.

I'm expecting users to search for something like

*Apple* -CApple

wherein I want all strings that has apple in it, but not CApple. (Search is
not Case-Sensitive). TIA

Regards,

Matt
rowe_newsgroups - 23 Oct 2007 15:35 GMT
> I'm trying to write something of a search pattern using RegEx in VB.NET.
> Reading through the documentation, I'm not able to put the puzzle together.
[quoted text clipped - 10 lines]
>
> Matt

I would highly recommend you download Expresso, which is a free life-
saving device for Regex and .Net. It includes tutorials for basic
Regex search and even a gui environment for building the expressions:

http://www.ultrapico.com/Expresso.htm

If you still can't figure out what to do with Expresso, please post
back with a sample paragraph of the string you will be searching and
I'll try to create your search string for you.

Thanks,

Seth Rowe
Matt - 23 Oct 2007 20:39 GMT
Thanks Seth. Let me try it out and get back if I have more questions.

Matt

>> I'm trying to write something of a search pattern using RegEx in VB.NET.
>> Reading through the documentation, I'm not able to put the puzzle
[quoted text clipped - 26 lines]
>
> Seth Rowe

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.