Bilibili

(?:https?:\/\/)?(?:.+|m\.)?(?:bilibili|b23)\.(?:tv|com)(?:\/video)?\/av(\d+)(?:.*)?

Youtube

.*youtu(?:.*\/v\/|.*v\=|\.be\/)([A-Za-z0-9_\-]*).*