I have spent days trying to work this out. Managed to get text to be captured but I need only one of the lines. I have tried various ways but always get all matches returned to me.
This line of text appears 3 times
<![LOG[Property SerialNumber is now = serial]LOG]!>
using the Regex
(?<=Property\sSerialNumber\sis\snow\s\=\s)[^<]+(?=]LOG]!>)
I get three matches of the word serial. I only need 1.
Where am i going wrong?