Test, validate and match regular expressions
Validates SoundCloud URLs beginning with http(s):// and an optional www. or m. subdomain. The username slug must be 3-25 characters, start and end with a letter or digit, and avoid consecutive hyphens or underscores (enforced via negative lookahead). An optional trailing path such as /tracks/song-name is permitted, making it suitable for profile or track links. Useful for form validation, link verification, and filtering user-submitted social media URLs.