Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Match 4chan thread URL
Open Workspace
JavaScript
Substitution
Created 2014-09-24 00:58
2
Regular Expression
/
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>