Created
July 23, 2018 10:13
-
-
Save morozVA/ba452b26defb980323b8c751d49b7e95 to your computer and use it in GitHub Desktop.
php regexp получить подстроку между скобками
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
preg_match('/\((.+)\)/', $str, $m); | |
echo $m[1]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment