Build, test, and debug regular expressions
This regular expression is designed to extract a Facebook ID or profile slug from a given URL. It optionally matches the standard Facebook domain prefixes and any intermediate path segments before capturing the target identifier. The identifier is defined as a sequence of alphanumeric characters and dots. It is commonly used in web scraping, data validation, or social media analytics to isolate specific user profiles or page names from full URLs.