Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-12-05 06:22
Flavor·PCRE (Legacy)

/
(?:^|\t) ( [^\t\n]+(?=(?:\t|\n[^ ])) | [^\t\n]+(?=(?:\t|\n([ ]+))) ) #(|[ ]{20})#(?![ ]{3,}) #| #[^\t]+?(?=(?:\n)([ ]+)")
/
gxsm
Open regex in editor

Description

part 2 of two-step replacement routine: before: abc def gh gk n opq

after: 'abc def gh 'gk n opq

Submitted by anonymous