I'm looking for a clean way to add multiple spaces to a sed statement. Having literal spaces in the statement works:
sed -i 's/this is a test/\n and so is this/' test_file.txt
but I was hoping for a more precise way to accomplish this with regex. Thanks!