Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
.NET 7.0 (C#)

@"
^\S+(?: \S+)*$
"
gm

Description

No leading or trailing spaces

Submitted by anonymous - 2 years ago