3
I have the following string
I would like to extract only prices within that string
thank you in advance
a<- " Scarpin Sofia Salto Bloco Slingback TurtleR$269,90 Scarpin Sofia
Nobuck Salto Bloco Slingback PretoR$269,90 Scarpin Sofia Nobuck Salto
Bloco Slingback Natural WoodR$269,90 Scarpin Sofia Nobuck Salto Bloco
Slingback New SalmonR$269,90 Scarpin Sofia Nobuck Salto Bloco Slingback
MandarineR$269,90 Scarpin Sofia Nobuck Salto Bloco Slingback
MostardR$269,90 Sandália Nobuck Corda Salto Alto Gergelim e Verde LimeR$299,90 "
Tried to use regex already?
– Luiz Augusto
not yet, I’ll take a look, there’s an example please ?
– Henrique Faria de Oliveira
There are several examples by the site, but the main ones( unfortunately no in r) : Extract numbers from a list using Regex Regular expression to extract numbers
– Luiz Augusto