
07.05.2009, 00:03
|
|
Постоянный
Регистрация: 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);
|
|
|