Regular Expressions 101

Community Patterns

String doesn't start or end with . - '

1

Regular Expression
Java 8

"
^[^.'-].*[^.'-]$
"
gm

Description

String doesn't start or end with . - '

Submitted by VS - 3 years ago