Any idea why this replace_metadata would fail to remove " (Fandom)"?
Regex101 indicates that the pattern matches.
Code:
## Character standardization and dedepublication
## Removing some fandoms first
characters=>\s(\(Elder Scrolls\)|\(Fallout\)|\(Mass Effect\)|\(Skyrim\))$=>
This works but leaves behind an extraneous space:
Code:
characters=>\(Elder Scrolls\)|\(Fallout\)|\(Mass Effect\)|\(Skyrim\)$=>
Here's a fic for testing.