Forum: Object-Pascal / Delphi-Language
Delphi
by omata,
20. Sep 2008
what do you mean with this?
greedy-mode? yes that will be work. another way is RegExpr.ModifierG. see the help-file for RegExpr-Component.
Forum: Object-Pascal / Delphi-Language
Delphi
by omata,
19. Sep 2008
procedure GetHexValues(Input:string; Values:TStrings);
var RegExpr:TRegExpr;
begin
RegExpr:=TRegExpr.Create;
try
Values.Clear;
RegExpr.Expression := '*(*)*';
if RegExpr.Exec(Input) then begin
repeat
Values.Append(RegExpr.Match);