<td colspan="2" class="ai1ec-time">
<a class="ai1ec-button ai1ec-calendar-link" href="#">
Back to Calendar »
</a>
July 12, 2012 @ 08:00 am – July 13, 2012 @ 10:00 pm
</td>
Above is my HTML markup which display the text below.
Back to Calendar » July 12, 2012 @ 08:00 am – July 13, 2012 @ 10:00 pm
I need to remove @ 08:00 am from the starting date/time and @ 10:00 pm from the ending date/time. How can this be done with jQuery? I heard and read of something called Regexp, is that what needs to be used? With jQuery remove()?
I forgot to mention that the 'time' is not fixed. The only thing that's fixed is that the portion that needs to be removed starts with '@' and ends with 'm'