If you need to trim multiple lines, use the Trim Line geoprocessing tool. The tool deletes lines that are shorter than a dangle length tolerance. The tool can trim all lines or just the selected ones.
This tool is useful for cleaning up features that were not digitized using snapping or were imported from another format, such as CAD. You may want to use the Trim Line tool in conjunction with the Extend Line tool, which extends lines to intersect within the dangle length. In addition, after running these tools, it may be useful to build a geodatabase topology containing the Must Not Have Dangles rule and to refine further the quality of your data.