in reply to Re^10: web search for certain data
in thread web search for certain data

Why split and replace when you can construct your URL directly? Just increase (or set) the ArtikelNr, and recreate the URL:
My $artikel_nr = 12345; my $url= "http://...?ArtikelNr=$artikel_nr&..."; ...