>>222
RegExp.Pattern = "<title id=(\d+)/>"
RegExp.Replace (str, "$titlearray[$1]")
これでいいかな?