I have string similar to this one:
{{something1}} something2 {{something3}} something4
How can I match only \"something1\" using the
Use non greedy modifier ? :
?
preg_match("/\{\{(.*?)\}\}/si",$content,$matches); here --^