I am running into a little regex problem. Here's an example of what I have sofar:
Code: Select all
$string = "title(mytest)";
preg_match_all('/.*?[^\()]+/i',$string,$matches);
title
(mystest
So I basically would like to know how i can get that final ( out of my output.
Help is highly appreciated.