$ rg 'sear' -r 'repl' file.txt
Edit: Oh, it's you. Thanks for a brilliant tool, I use it every workday and have been for years.