(bsd sed): target 3 sections of regex pattern, and further target one specific section to copy to new line.
#!/bin/bash nl=$'\n'; cat "hello.txt" | sed -E "s/(<img.+src=\")(.+)(\".+)/\1\\$nl\2\\$nl\3/g"