Replace them, but also see if they make or you can make PTFE brake hoses for your car

I hate hate hate braided rubber hoses

All of mine are ptfe except for my clutch bleeder hose which ruptured randomly while clutch in in grid.

The burst strength of prefer hose is much higher than braided rubber