match entity # $1 commatarget # $2 and replace entity with itself and commatarget with comma, and you're done :)