Here is the information you requested for brake line flex hose replacement. After replacing the line you will have to bleed the system to remove the air from opening the system. Here is a tutorial showing how to bleed the brake system after repair:
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.