Just after posting I had this post suggested: Stuck with REGEX to extract JSON object
I used bit of the regex to amend mine and managed to make it work: ({[\w\W]*?"Activity": \[(.*\n)+?})
The only thing strange is that I have 2 value $1 and $2
$1 give me exactly the JSON i want
$2 has this value: ]
I am not sure why, I am using $1 and i am able to parse it to a JSON module after; I am going to run a few more test to ensure it s working properly.
If someone has a better/more safe approach, to what i did to ensure I can extract a JSON properly all the time, I am happy to hear
I will leave the post open 24hrs and mark it with this response if no reply
Thanks