Regular Expressions 101

Community Patterns

1...456

Community Library Entry

1

Regular Expression
.NET 7.0 (C#)

@"
(?::.+(?=;))?(\s+)
"
gm

Description

Regex that will match/replace unnecessary whitespaces in CSS code.

Submitted by Puchkov Eugene - 6 months ago (Last modified 6 months ago)