<?php

$code = '<span id="vcate_title">測試文字06</span>';
preg_match_all('/vcate_title">(.*)<\/span/',$code, $gettitle);
print_r($gettitle);