Help with RegEx

  • Thread starter Thread starter Matt
  • Start date Start date
M

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 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
 
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

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
 
Back
Top