This may be a very simple question but I have not much experience with regex expressions. This page is a good source of regex expressions but could not figure out how to include them into my following code:
data %>% filter(grepl("^A01H1", icl))
Question
I would like to extract the values in one column of my data
frame starting with this A01H1
up to 2 more digits, for example A01H100, A01H140, A01H110
. I could not find a solution despite my few attempts:
Attempts
I looked at this question from which I used ^A01H1[0-9].{2}
to select up tot two more digits.
I tried with adding any character ^A01H1[0-9][0-9][x-y]
to stop after two digits.
Any help would be much appreciated :)