I'm using this regex string:
/rfi .*?(.*) .*?\((.*)\)/i
Group 1 finds the rfi number & group 2 returns the contents inside the ( ). With test string: "New RFI 087 (Concrete Beam at Planter)" everything works fine, but with test string "New RFI 087 (Concrete (Beam) at Planter)" it crashes.
Is there anyway to search inside the ( ) but ignore multiple ( ) inside of it ?