I'm trying to run regular expression on the following string with PHP using preg_match_all function
"{{content 1}}{{content 2}}"
The result I'm looking for is array with 2 matches inside {{ and }}
Here is the expression '/\{\{(.+)\}\}/'
I'm suspecting that my expression is too greedy but how to make it less greedy?