8 Replies Latest reply on Nov 24, 2015 1:13 PM by pixxxel schubser

    Check my GREP?

    GeofferyH Level 1

      First, let me say I'm not really a code talker -- I poured in an Excel document for a directory. It's mostly single lines of names with multiple line text for the school names.

      So I want to look for a line with two, sometimes three words followed by "elementary or junior or sr or high", and apply a "header" to these. Here's what I cobbled together:

      ^\w+?( \w+?)? (?i)(elementary|junior|sr|high)

      It works. It does what I want, but am wondering if it's "correct" or "efficient".