I'm trying to extract the ID of a Notion database from a URL e.g. the bold text in https://www.notion.so/anotioneer/d77d1d19d4a943358898f2be65499d6a?v=1dedd49c5403489ebb899a290111f858.
I can match everything after anotioneer/ with anotioneer\/(.+) and everything before the ? with .*(?=\?) but I'm struggling to combine the two expressions.