I want to remove 12:00:00 AM from following string.
<div class="modal-body">
<p>1/11/2016 12:00:00 AM - 1/13/2016 12:00:00 AM</p>
</div>
The results should be:
1/11/2016 - 1/13/2016
How can I remove just the 12:00:00 AM from complete string all occurrences of it.
$('.modal-body > p').text().remove("12:00:00 AM");