Use
(S[^S
]*)
Replace with $1 word
. See proof.
Explanation
--------------------------------------------------------------------------------
( group and capture to 1:
--------------------------------------------------------------------------------
S non-whitespace (all but
,
, , f,
and " ")
--------------------------------------------------------------------------------
[^S
]* any character except: non-whitespace
(all but
,
, , f, and " "), '
'
(newline) (0 or more times (matching the
most amount possible))
--------------------------------------------------------------------------------
) end of 1
--------------------------------------------------------------------------------
$ before an optional
, and the end of the
string
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…