Heres a quick one for you javascript magicians out there!
I have a string like so
var something="a<b>pple</b>";
Can you break the above apart so that I get an array like this:
the_string[0] would contain "a"
the_string[1] would contain "pple"
basically, the text before the tag and the text in the tag.
The tag will always be the bold tag and in that exact format.
Thanks!
"a<b>pple</b>".split(/<\/?b>/)