How to use "AND" in regular expression

  • Thread starter Thread starter John Smith
  • Start date Start date
J

John Smith

My understanding is that to search for "big" OR "small" in a string,
one uses the following expression:
r = New Regex("big|small", _
RegexOptions.IgnoreCase Or RegexOptions.Compiled)

What is the syntax for searching for "big" AND "small" in a SINGLE
regular expression statement? (I try to avoid using 2 seperate regular
expressions with "if/then" if possible)

TIA.
 
Back
Top