in reply to Re: extracting words with certain characters
in thread extracting words with certain characters
Note: this will match "words" containing anything that is not whitespace. This may or may not be what you want. For example, should this be two different words?
word_1,word_2
If so, you could use a regex that matches a more traditional definition of a word:
/(\w*_\w*)/g
\w matches "word characters": alphanumeric characters plus underscores.
|
|---|