PHP 시작과 끝 최소 첫번째 매칭

1 개요[ | ]

PHP 시작과 끝 최소 첫번째 매칭
<?php
$haystack = "<b></b><a>111</a><b></b><a>222</a>";
preg_match('/<a>.*?<\/a>/', $haystack, $matches);
print_r($matches);

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}