2
I have the following string:
JOSÉ CARLOS ALMEIDA (0-2) 1
need to remove text and spaces and leave (0-2) 1
this way I can deal with the trim
, split etc...
but this my string will not always be the same as sometimes can come:
JOSÉ SAMUEL (0-2) 1
and or
CARLOS MANGUEIRA (0-2) 1
how can I treat these variations?
will always come (0-2) 1 at the end? or may vary type (10-25) 1
– Daniel Saraiva
Daniel, may vary yes
– Guilherme Lima