Test, validate and match regular expressions
This regular expression is designed to match either standard Base32-encoded strings or numeric IDs within a URL path. It accurately validates Base32 formatting, including proper character length and padding, bounded by slashes. Additionally, it captures purely numeric segments, making it perfect for routing logic, parsing API endpoints, or extracting specific resource identifiers from web addresses.