JSFiddle - React, Tailwind, and code Playground
JavaScript
var input = " <div>text text</div> |text text 55.555555 |44.444444 | <div>text <b>name</b></div>";
input += " <div>text text</div> |text text 33.333333 |22.222222 | <div>text <b>id</b></div>";
var regex = /[|].*?([+-]?\d+[.]\d+).*?[|].*?([+-]?\d+[.]\d+).*?[|].*?<b>(.*?)<\/b>/gm;
var matches;
while((matches = regex.exec(input)) !== null) {
document.write(matches[1] + ", " + matches[2] + ", \"" + matches[3] + "\"<br />");
}