I'm sorry, but I couldn't get reprex.
I have many character columns with numbers and characters. I want to remove characters and leave numbers but to do this with many variables at the same time.
I am using this code:
with different modifications (changing variables, or putting ".," in str_extract) but still get various errors.
What can I possibly be doing wrong?