I have a string which looks like
var str = <strong>Result completed.</strong> This has been done by user steve at 2am
Now, from this string I would like to remove the strong
as well as , I am trying divide this string in two parts,
{
title: "Result completed.",
desc: "This has been done by user steve at 2am"
}
So , is there any way I can get this result using javascript
Thanks