Показать сообщение отдельно

  #4  
Старый 07.05.2009, 00:03
-Hormold-
Постоянный
Регистрация: 29.09.2007
Сообщений: 617
Провел на форуме:
3250478

Репутация: 999


По умолчанию

Код:
const
  EmailRE = '<title>(.*)</title>';
var
code,tmp,html:string;
r : TRegExpr;
begin
html:='<title>епт</title>';
r := TRegExpr.Create;
try
     r.Expression := EmailRE;
     if r.Exec () then
      REPEAT
       tmp:=r.Match [1];
       code := code + tmp;
      UNTIL not r.ExecNext;
    finally r.Free;
   end;
ShowMessage(code);
 
Ответить с цитированием