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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Another question about regex (not understanding) 5
basic regex question 5
basic regex quesiton. 2
help with regex? 4
Regex. Split or Split 5
regex Question 1
RegEx for \x### 2
regex 3

Back
Top