Message-ID: <AMSPR07MB470CA7DE5C094933EA5CF52E22B0@AMSPR07MB470.eurprd07.prod.outlook.com>
Date: 2016-06-21T21:55:33Z
From: Marine Regis
Subject: Extract character strings from a vector
Hello,
I have a vector x of character strings:
x <- c("LM0122","RTGFFFF", "GF TYHH", "HJN 89963", "KFTR1","RT 8")
>From this vector, how can I extract the following character strings (i.e., which contain 0 or 1 numeric value)
[1] "RTGFFFF" "GF TYHH" "KFTR1" "RT 8"
Thank you very much for your help.
Have a nice day
Marine
[[alternative HTML version deleted]]