Found this tidbit here:
With Bash history, ^string1^string2^ will repeat the previous command replacing string1 with string2. For example:
nslookup shorturlbl.ca ^shorturlbl^snork^