Hi All,
I am trying to build a regular expression which will match all characters, except for a space. (I am trying to find something like: bla blabl something_like_line1($sixtycents)😉
So the space is a delimiter, after which I search for the (. But do not want it to match 'blabl '
I now have:
preg_match("#( .{1,})(\()(.{0,})(\))(.{0,})#", $line, $matches);
Which I would like to return, in one of the $matches[]:
'something_like_line1'
Any advice is very welcome!
J.