Put a large bowl or bucket under work area, brake fluid is caustic.
Cut old flexible hose
Remove old flexible hose from frame brake line and caliper.
Put new flexible hose on frame brake line.
Open the cap on master cylinder
Brake fluid should start to drain down into the new flexible hose, gravity bleed.
Hold end of hose up high to get all the air out, tap on the hose to get all the air out
After no air is seen start screwing on the caliper on to the hose, yes you have to turn the caliper not the hose, lol.
After it is tight hold caliper up high and open bleeder, hold it so bleeder is at the top where air would be, tap new flexible hose to get all the air out.
When no air is seen coming out tighten bleeder.
Check brake fluid in master, top it up.
Put cap back on master cylinder
have someone press down on brake pedal while you open bleeder to release any air that might still be in there, if no air is seen then you are done.
If alone you can use a stick or 2x4 propped against seat to put pressure on brake pedal, then open bleeder.