Regular Expressions 101

Community Patterns

1...34567...901

Community Library Entry

0

Regular Expression
Java 8

"
^([a-z]|[A-Z]).*\1$
"
gm

Description

regex for a string that starts and ends with the same letter

Submitted by anonymous - 2 years ago