There is a way to eliminate certain parts of a string. example
FECHA DE GENERACIÓN: 26/04/2019 HORA: 4:00 P.M.
I want to erase: GENERATION DATE: _____ TIME: 4:00 P.M.(this time varies)
I just want to stay with the text 04/26/2019, but this text also variate
Thanks in advanced