sajad torkamani

Match a q that’s not immediately preceded by an u, without making u part of the match.

(?<!u)q

Sources / related

Tagged: Regex