sajad torkamani

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

(?<!u)q

Sources / related

Tagged: Regex