Matchtext to find a series of words

J. Landman Gay jacque at hyperactivesw.com
Wed Nov 29 16:26:04 EST 2006


I need a matchtext/regex that will find a series of words in a block of 
text, no matter whether they are together or not, and ignoring carriage 
returns. For example:

See if all of these words: dog cat dinosaur

are in this text:

"The purple dinosaur inadvertently stepped on the cat.<cr>
The white dog howled."

Should return true. Is there such a thing?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list