I was wondering what the regex syntax would be for finding a word would look like.
For example:
string.find("banana bananapeel", "banana")
returns true on both banana and bananapeel. However, I want it to strictly match just the word "banana". How would I do this?
For example:
string.find("banana bananapeel", "banana")
returns true on both banana and bananapeel. However, I want it to strictly match just the word "banana". How would I do this?