I have the following expression which I think works well. What I want in short is a string to start and end with the same character, with atleast one thing in between.
Below is the details of what I think the above does, but wondered if there's a better way to do it...
1. Start at the beginning of the line
2. Capture the first character, doesn't matter what it is
3. Then there has to be another character, again, doesn't matter what, but has to be atleast one
4. Then an identical character to the first
5. Then the end of the line