Seal Skills Builder: Find Two Phrases That Appear Together in a Document.png

Seal Skills Builder: Find Two Phrases That Appear Together in a Document

According to a Forbes article, poor user engagement is negatively impacting technology innovation. Lack of training, among other factors, is causing underutilization which, in turn, is contributing to low end-user adoption rates.

At Seal Software, the Learning Services team is tackling user adoption challenges with the following offerings:

  • Analysis of a client’s learning needs and a plan for addressing those needs
  • A catalog of learning events to accommodate the needs of the full range of user’s types
  • Subscription-based learning content that provides just-in-time answers or reinforcement of previous learning
  • Skills Builder Tips

If you are currently utilizing the Seal platform (on-premise or via Seal Cloud Services), I’m sure you’ve had “How to” questions along the way. Whether you are in the on-boarding phase or a long-time customer, our modern learning approach equips end users with the knowledge to succeed. One question we are commonly asked in training classes is “How do I locate two phrases that appear together in a document?” That is the topic of today’s Skills Builder Tip.  

Skills Builder Tip

When needing to find two phrases co-located within a document, the query entered in the Seal Search Bar requires specific syntax. Let’s walk through an example. You need to find documents with the phrase “neither party” located within 10 words of the phrase “without the prior”. What do you type in the Search Bar?

Search Bar Entry

Both phrases must be grouped with parenthesis and enclosed in quotes, the ~N operator specifies the maximum number of words apart for the two phrases. The result:

“(neither party)(without the prior)”~10

Saved Search

Since this syntax needs to be precise, Seal makes it easy to reuse by saving the search.  You can save any search with the drop-down arrow to the right of the Search Bar.  To reuse, simply select the Saved Search and modify the phrases and number to fit the needs of a new search.

Perhaps the most useful Saved Search of all would be to save this search as:


After selecting the Saved Search users can easily edit phraseA, phraseB and N. This method reminders users of what goes where in the Search Bar Entry.

Advanced Variant

A variant of this search accommodates quote marks that are embedded in the text. In this example the backslash character is used to isolate the inner quotes from the syntax of the search command:


The tips we have included here are just a small sample of the questions we address in our training classes.

If you have questions you’d like answered, please send your questions and any Learning Blog topic suggestions to For more information on the Seal platform and how Seal Learning Services can assist you in the skill acquisition process, visit