Profile
Preg match with groupping

Use ?<variable_name> like this

/(.*)\[Support #(?<ticket_id>.*)\]: (?<subject>.*)/