Batch rename bookmarks to remove special characters and then Split the file
I have a PDF with about 1500 pages and 1000 bookmarks (it's an auto-generated report from a tool we use).
I tried splitting the file basing it on the bookmarks, however, all of them have special characters, which I later found out to be the reason I always receive the error "The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder" when trying to split it (just to be clear, I'm not using any cloud services, and I have full permissions to read/write in any folder in my drive).
Does someone know of any way to automaticaly rename all the chapters? All of them have follow this pattern:
[BCC-0000] Name ~ With_Special > Characters ~
[BCC-0001] Name ~ With_Special > Characters ~
[BCC-0003] Name ~ With_Special > Characters ~ and so on.
I believe the best approach would be keeping only the first characters of the name, removing the "[ ]" if possible, or just use regex, but I have no idea on how to achieve this.
Thanks!
