title: How to implement TokensRegexNER
body: <p>I've been looking at Stanford's TokensRegexNER official documentation. It is the right tool for me to do extract some patterns from raw text based on regular expressions. </p>
  
  <p>The problem is that I couldn't find any implementation examples. The examples they give in their official website is incomplete. (An example is below). No comments to help implement or something..</p>
  
  <pre><code>List&lt;CoreLabel&gt; tokens = ...;
     TokenSequencePattern pattern = TokenSequencePattern.compile(...);
     TokenSequenceMatcher matcher = pattern.getMatcher(tokens);
  
     while (matcher.find()) {
       String matchedString = matcher.group();
       List&lt;CoreMap&gt; matchedTokens = matcher.groupNodes();
       ...
     }
  </code></pre>
  
  <p>Can anyone help me with their own sample example? </p>