I'm trying to get the following words (in bold) using JavaScript/jquery:
Blablablalblabla
- Blablablalblabla: Blablablalblabla
- Affected: Windows Vista, Windows 7
- hxxps://Blablablalblabla
Blablablalblabla
- Affected: Windows Vista , Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8.1, Windows Server 2012 and Windows Server 2012 R2, Windows 10, Windows Server 2016
- hxxps://Blablablalblabla
They are comma separated. Their appear after the string 'Affected:' and ends with the string '- https'.
So far I have tryied several regex, for example: /Affected(.*?)\n- https/g
Maybe I'm focusing worthly... any idea?