I know that with Vim\'s substitution command you can specific a range of lines:
:12,24s/search/replace
I want to be able to specify a range
Great answer from akira. But after some digging, I found an alternative. It's not as elegant but easier to type in:
:12,24g/search/
This will give you one annoying prompt but it will end up on the first line within the range containing the sought string.