Hello Everyone
I’ve got a question that I can’t seem to find the answer for. I’ve got a memo field in Access witch I store some article data eg:
“This is the para blablbalbla. This is a new sentence, followed by one more. This is the third sentence”
So after I access my db and assign it to a variable:
$text = “This is the para blablbalbla. This is a new sentence, followed by one more. This is the third sentence”;
Now if I want to run a search on the text in the variable, with one word with I can do a search without a problem (and make the found text CAPS) but is there a way to find 2 or more words in a single sentence?
“Hello how are you all? The dog and the cow were friends. This is the second. ”
Search “dog, cow, friends” in same sentence? Can that be done with regular expressions? If that can be done? Then how would you highlight or bold the words that have been found?
Any Ideas would be much appreciated.. 😕
Adam