I tried with the Match and it works normal but when I add the Split syntax, the same error occurs. Thanks
re:=TRegExpr.Create;
try
re.Expression := 'example expression';
if re.Exec(tmpstr.Text) then
repeat
// re.Split(tmpstr.Text, ostr);
// Memo2.Lines.Add(ostr[1]);
Memo2.Lines.Add(re.Match[0]);
until not re.ExecNext;
finally
re.Free;
end;