regex

Regex learning

?(?!.]).[^(]) - Select all content between the last ? and the last ) in a line and excludes if ] comes between

useful to remove the query string in a url

uses something called as Negative Lookahead to exclude


a quote i like

What we do in life echoes in eternity! ― Maximus, Gladiator (film)