#include <StringConstants.au3> ; to declare the Constants of StringRegExp
#include <Array.au3> ; UDF needed for _ArrayDisplay and _ArrayConcatenate
Local $sRegex = "该网站共有\s*<b[^>]*>([^<]*)<\/b>"
Local $sString = "该网站共有 <b style="color:#333">1,647</b></b>" & @CRLF & _
" 个网页被百度收录 </span>" & @CRLF & _
" <a class="c-gap-left" href="http://www.baidu.com/link?url=VJVYQ4ICi27sRCzv-qcP6aqwAFaTejX2cxgqpybZ5hSywsOxqZlnjP29Y930JNV8EHBPc4O7XPBnOOsZTAJRCK" target="_blank">到站长平台分析收录量>></a>" & @CRLF & _
" </p>"
Local $aArray = StringRegExp($sString, $sRegex, $STR_REGEXPARRAYGLOBALFULLMATCH)
Local $aFullArray[0]
For $i = 0 To UBound($aArray) -1
_ArrayConcatenate($aFullArray, $aArray[$i])
Next
$aArray = $aFullArray
; Present the entire match result
_ArrayDisplay($aArray, "Result")
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm