You don't really need to get that complicated. Use the regex code of "\b" to match a word boundary. Example:

In the above example if you set
offset to 0 then "foot" is found at index=8. If you set
offset to, say, 9, to search after the word "foot", then no match is found. I.e., there is no match against "footwell" or "footsy".
Message Edited by smercurio_fc on
03-17-2008 10:09 AM