Trimming curves by region and projection

Hi Guys,

Good day, is there a way that I could manage to trim the curves even
they are not intersecting from the polyline?
Some curves inside the region were not trimed?

Thanks