from aiogram.dispatcher import filters
@dp.message_handler(filters.RegexpCommandsFilter(regexp_commands=['get([0-9]+)']))
async def send_welcome(message: types.Message, regexp_command):
identifier = regexp_command.group(1)
...
/get1
, /get319
, /get25
и др.