Re: matchtext question using regex

2007-05-05 Thread Jim Ault
try studying the | symbol, which is OR There are many ways of using it with strings and substrings and patterns. Jim Ault Las Vegas On 5/4/07 10:41 AM, ron [EMAIL PROTECTED] wrote: Regex question for use in matchtext I want to find word A followed by word B. (quickly) So: put this is my

matchtext question using regex

2007-05-04 Thread ron
Regex question for use in matchtext I want to find word A followed by word B. (quickly) So: put this is my big dog called cat. into thetext put my.{0,5}dog into reg And put matchtext(thetext,reg) returns true because I use a period so it is counting characters but I need it to count words. I