Regular Expressions 101

Community Patterns

Match 4chan thread URL

2

Regular Expression
ECMAScript (JavaScript)

/
http(?:s)?\://boards\.4chan\.org/([a-z]*)/thread/([0-9]*)(?:\#[0-9a-z]*)?
/
g

Description

Matches a 4chan thread URL, see the examples

Submitted by Zeke Sonxx <github.com/zekesonxx> - 10 years ago