Hi, I suppose you are using a plugin to do this import.
You can use the “Replace in files” or “Find in Files (+ Replace)” command in your favorite text editor like VSCode or SublimeText, with the obsidian vault folder.
Alternatively, if you can run a command from a Linux console:
cd obsidian-vault
sed -i 's/#favorite//' *.md
Note: make a backup before making this kind of changes.