Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-02-03 00:44
Flavor·PCRE (Legacy)

/
^Soldto:(?:.*\R){2}\K((?:(?!\s{2}).)+)\K\s*\K((?:(?!\s{2}).)+)
/
m
Open regex in editor

Description

Pulls data from the 3rd line of different columns of text.

Submitted by Jan from StackOverflow, and John Kimball