I've put together a regex that works in test environments (like regex101.com), but when I try to use it in Laserfiche I get a completely different result.
I'm looking to identify schools, and the schools all end with "Elementary", "Middle", or "Secondary"
"[A-Za-z '-.]*[A-Za-z'-.]\s+([Ee]lementary|[Mm]iddle|[Ss]econdary)"
So, for example on regex101, that regex identifies the string "John Wayne Middle" perfectly. However, in Laserfiche (when I use "Test the Pattern" or when I run a sample page through) it only resolves the word "Middle" from "John Wayne Middle".
Am I doing this wrong, doing this wrong in the world of Laserfiche, or is this just not how Laserfiche parses regex commands and I'm doomed to failure?