Test, validate and match regular expressions
Matches URLs for threads on 4chan or 4channel imageboards, capturing the board name (lowercase letters) and thread ID number, with an optional post anchor. Useful for extracting thread links from text or for web scraping tools targeting 4chan content. The protocol can be http or https.