John Mercier

[A software developer interested in java, groovy, and nixos]

Take a list of languages:

  • English

  • French

  • Spanish

  • Portugues

And you want a regex that matches everything except English

using negative lookahead

(?im)^(?!English).+$

using only

(?!English).+

will not work.

2014 - 2018 | Mixed with Foundation v5.5.1 | Baked with JBake v2.5.1