Remove prefixes from code snippets