You're missing the plastic part that goes into the channel? That's no bueno. Unfortunately that part by itself you can't get, you'll have the replace the whole thing.
Best replacement is going to be Bestop:
https://www.amazon.com/d/Car-Tops-R...place-1997-2002/B000VLHCBI?tag=wranglerorg-20
This is fabric only, so you should be able to use your original soft top frame and attach the new fabric to it. This link is for the sail cloth, which is the same as OEM, if you want to spend a premium you can get the twill version. It's supposed to retain temperature better and cut down on noise while being much thicker and better material. It's not going to be quite as robust as the much cheaper sail cloth but if you're not planning on getting it beat up off-road then it's a more luxurious alternative.
Hate to ask, do you have a link to the twill one? I don't plan on beating it up so I think I would rather go with the nicer one.
Thanks.