I've a variable where I would like to extract the content surrounded by a special character. In my case the character is %.
The value stored in the variable goes this way:
"something.. : something.. %Required Value 1% something.. %Required Value 2% : something.. "
The response is filled with different special characters and the value is coming from a different script.
From the above response, I want to extract the values surrounded with %. The output I'm looking for is
Required Value 1
Required Value 2