Community Patterns

Community Library Entry

-1

Regular Expression
Created·2021-08-24 00:28
Flavor·ECMAScript (JavaScript)

/
(\s*--.*)(,?)$
/
gm
Open regex in editor

Description

Utilize " -- " as a Token and strips from the token to the end of the line.

Submitted by anonymous