Hello. I have a long df with a character column in this format: A06005599. I want to filter all the ocurrences that begins with A24
I'm using
df[grepl("^A24.*\\\\\\", df)]
but gives me an error:
Error in grepl("^A24.*\\\\\\", df) :
invalid regular expression, reason 'Trailing backslash'.
Any idea?