code:
for(i=0;i==0;i=i){
if (sentenceT.match(/\[t=.+?\]/i)=="[t=ps]")
{
Time=sentenceT.match(/\[t=.+?\].+?\[\/t\]/i)
Debug.Trace(Time)
sentenceT=sentenceT.replace((/\[t=.+?\].+?\[\/t\]/i),"")
}
else {i=1}}
well if finds me the string I want but I want Time to equal the string between the [t],[/t] and I don't really know how anyone can help?