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
Parse markdown table header and column
Open Workspace
PCRE2 (PHP)
Match
Created 2025-04-10 03:25
1
Regular Expression
/
(
^
\|
(
\s
*
[
A
-
Z
]
[
A
-
Z_
]
*
\s
*
\|
)+
\s
*
$
)
\r
?
\n
(
^
\|
(
[
\s
-
]
+
\|
)+
\s
*
$
)
/
gm
Description
Parse markdown table header and column
Submitted by
Anonymous