Find all strings except one string using regex [duplicate] August 1, 2023 by Tarik ^(?!ABC$).* matches all strings except ABC.