View Single Post
Old 07-27-2023, 03:43 PM   #8749
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,112
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Tharos View Post
Thank you.

Another question. In AO3, the characters often have the fandom attached to their names. Example: Perenelle Flamel (Harry Potter).
Is it possible to automatically delete the (Harry Potter) in the names?
So far I have solved this via replace_metadata and changed each name individually.
I use this, adding fandoms as needed. Note the formatting carefully, it's pretty easy to break it.

Code:
 characters=>\s*(\(Disney\)|\(Elder Scrolls\)|\(Fallout\)|\(How to Train Your Dragon\)|\(Mass Effect\)|\(Redwall\)|\(Skyrim\)|\(Watership Down\))$=>
ownedbycats is offline   Reply With Quote