I have the below string:
test 13 (8) end 12 (14:48 IN 1ST)
I need the output to be:
14:48 IN 1ST
or everything inside parentheses towards the end of the string.
I don’t need, 8 which is inside first set of parentheses. There can be multiple sets of parentheses in the string. I only need to consider everything inside the last set of parentheses of input string.
Regex Explanation
preg_match
Accept Empty preg_match_all
Don’t Accept Empty preg_match_all