bnownlater
Programmer
I am using an php to access a MS Access db. I want to use a regular expression to find the keywords in a phrase, but only if they are the start of any word in that phrase. For
example: $keyword="eat"
Matched: eat the cat, he is eating, the man eater,..
No Match: beat the time, trun up the heat,...
Using LIKE '%".$keyword."%' brings up too much junk.I was prevoiusly give REGEXP '[[:<:]]".$keyword."'", but this will only work for a mySql db. Please help. Thanks.
example: $keyword="eat"
Matched: eat the cat, he is eating, the man eater,..
No Match: beat the time, trun up the heat,...
Using LIKE '%".$keyword."%' brings up too much junk.I was prevoiusly give REGEXP '[[:<:]]".$keyword."'", but this will only work for a mySql db. Please help. Thanks.