tag:support.markedapp.com,2011-09-11:/discussions/questions/9069-how-to-highlight-the-first-56-words-in-each-sentenceMarked: Discussion 2018-01-04T22:27:37Ztag:support.markedapp.com,2011-09-11:Comment/444412972018-01-04T20:48:41Z2018-01-04T20:48:42ZHow to highlight the first 5~6 words in each sentence.<div><p>I know there is highlight option in proofreading. I can also use regular express with / /, but I don't know how to highlight the first some words.</p></div>kootag:support.markedapp.com,2011-09-11:Comment/444412972018-01-04T22:27:37Z2018-01-04T22:27:37ZHow to highlight the first 5~6 words in each sentence.<div><p>It would be through regular expressions, but Marked's highlighting<br>
engine isn't advanced enough to handle such general queries without<br>
using excessive memory. Basically you'd want to search for a terminator<br>
[?!.] followed by a space and then groupings of non-terminators after. But after a little testing, that's not working properly with the<br>
highlighter.</p>
<p>-Brett</p></div>Brett