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
Extract variable data from multi-line text columns
Open Workspace
PCRE (Legacy)
Match
Created 2016-02-03 00:44
1
Regular Expression
/
^
Soldto:
(?:
.
*
\R
){2}
\K
(
(?:
(?!
\s
{2}
)
.
)+
)
\K\s
*
\K
(
(?:
(?!
\s
{2}
)
.
)+
)
/
m
Description
Pulls data from the 3rd line of different columns of text.
Submitted by
Jan from StackOverflow, and John Kimball