I've got a pair I need to do that with. Both those back off-center loops are used far too often to hike up my pants, and both are broken on my oldest but still serviceable pair.
I bought a roll of nylon thread that's so strong I can't rip it with my hands. Been using it to mend so many cheap seams and am always so proud of myself.