Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "string1", "string2"
- /[{]s*[^{}]+s*[}]/
- $matches = [];
- preg_match_all('/{s*([^}s]*)s*}/', $string, $matches);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement