I have the following instance of html:
<span class="booking-detail"><b>12 hours, 12 hours, 12 hours</b></span>
There are other instances of the same markup except the contents are things like "Conference Room, Conference Room, Conference Room" etc.
I basically only want to display "12 hours" and "Conference Room" etc and hide everything after the first comma. Whether I achieve this via wrapping the first comma and everything after it with a span I then hide or replacing the html contents doesn't really matter.
Thank you