probably a little better would be to use \b and \w instead of defining a word and separator from sratch
I invite you to demonstrate this.
reading one extra word from the file
How do you read a "word" from a file?
In reply to Re^3: extracting search term context
by BrowserUk
in thread extracting search term context
by punkish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |