Help with a complex regex

If you want to match all 3, just change it to:

/(@[\w\-]+):([\w\-]+)(>=|<=|=|>|<)([\w.\-]+)(?:\(([\w,\-]*)\))?/im