You can get a black light flashlight to see where the pet urine is. and replace only that section of the flooring.
https://www.amazon.com/Lepro-Flashlights-Handheld-Blacklight-Detection/dp/B09636FL56/ref=asc_df_B09636FL56/?tag=hyprod-20&linkCode=df0&hvadid=532544119180&hvpos=&hvnetw=g&hvrand=2435959573799765663&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=1027019&hvtargid=pla-1487514932794&psc=1