Gsub syntax to remove all before \

can you give the entire filter ?
also your regex isn't correct, try this "(.*\\)" instead of "[*\\]"