aggiungi g dopo l' ultimo slash
pattern = /[b](.*?)<\/b>/g;