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 - 4 months ago (Last modified 4 months ago)