Thanks for this helpful, thorough answer.
As for your caveat, the OP did say that only the identifiers contain underscores. As long as that is true, a simplistic solution should work fine.
In reply to Re^2: extracting words with certain characters
by ColonelPanic
in thread extracting words with certain characters
by geek09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |