<?php
$string = "abc(123)";
preg_match_all("/\(.*?\)/", $string, $matches);
echo $matches[0][0];
?>
블로그 이미지

디츠

“말은 쉽지, 코드를 보여줘.” “Talk is cheap. Show me the code.” – 리누스 토르발스(Linus Torvalds)

,