I have situation where I need to extract tables list from mysql dump file. I tried that with sed
sed 's/DROP TABLE.*?`(.*?)`/\1/' baza.sql > 1.txt
but got this error
sed: -e expression #1, char 26: invalid reference \1 on `s' command's RHS
what did I miss in my regexp?