I am working on building an address matcher in R. I am stuck on matching unit address e.g "22/106 Homer Street". I want to be able to extract the 106
This is the correct regex : (?<=\/)\d+
Entering into R as
data$door_number <- str_extract(data$Property_Address,"(?<=\/)\\d+")`
comes out with Error:
'/' is an unrecognised escape in character string starting
""(?<=\/"
I have tried multiple combinations of slashes but cant seem to extract the desired result in R.