I have a strings similar to the below:
Secret key\r\nKey: \r\nNew key is: car!5\r\nKey added
Secret key\r\nKey: \r\nNew key is: 123fruit2!!\r\nKey added
Secret key\r\nKey: \r\nNew key is: ChairS5!#\r\nKey added
I would like to match what is between "is:" and , in the examples above the expected matches would be
car!5
123fruit2!!
ChairS5!#
What I've come up with so far is as follows:
is:([^\\\\]*){3}\s*
(?:is:)*([^\\\\]*){3}
But it fails to fetch the results expected