View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
Ron Rosenfeld Ron Rosenfeld is offline
external usenet poster
 
Posts: 5,651
Default Regular Expression Conditionals (?(if)then|else) in VBA?

On Wed, 8 Oct 2008 12:09:02 -0700, Lazzaroni
wrote:

Ron:

Too bad it doesn't use the .NET flavor, which is much more robust.

Thanks.


I'm not sure exactly what you want to do, but

"<test|(^|[^<])test(?!)"

might match what you wrote for a specific string, so long as it doesn't include
embedded delimiters.

--ron