Replace

Replace

Hello, 

We have this price range automatically provided by API and we would like it replaced.

Example is.

  1. <p class="price-range">$0 - 50, 0000</p>
or
  1. <p class="price-range">$20,000 - 49,000</p>
How do we replace those via jquery? Instead of showing those numbers, we would like to change it like "Negotiable" if price range is less than 50,000

Thanks.