Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
.NET 7.0 (C#)

@"
^[a-zA-Z\s\d\/\+\(\)\#\&]*$
"
gm

Description

custom validation for card name with custom validation. only allow these characters

  • Alphanumeric (A-Z a-z0-9)
  • Special Characters (#&+()/)
Submitted by anonymous - 2 years ago