I'm trying to capture the username from these lines:
title="user1 is online now"><b><font color="#2568BA"><b>user1</b></font></b></a>
title="user2 is online now"><b>user2</b></a>
With this as the pattern:
title=".{1,16} is \w{5,8}? now"><b>(?:<font color="#\w{6}">)<b>(?<text>.+?)</b>(?:</font>)</b></a>?
But it's only capturing user1. The "font color" tag needs to be ignored, sometimes it's there sometimes it's not.
I'm struggling with this for hours now, what am I missing?