If the rubber strip along the bottom of your door is torn, the part to ask about is a door sweep. Open the door and take two photos: one of the whole bottom edge and one from the side so you can see how the strip attaches. Measure the width of the door, too.
At a local hardware store, show the photos and say, “I’d like to fix this gap. Can you tell from the end of the door how this piece fits?” Then ask, “Can I replace just the rubber insert?” and “How much clearance does the replacement need so the door still opens over my rug?”
If the original part has a brand or number on it, include that when you search “replacement door sweep insert.”