Usage: pcre2grep -M -e'^(CREATE TABLE[^;]*?;)' dump.sql > create-tables.sql
pcre2grep -M -e'^(CREATE TABLE[^;]*?;)' dump.sql > create-tables.sql