Regular Expressions 101

Community Patterns

123...7

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