in reply to Regex + substring
However, I do not understand the purpose of the "-" character. You make a point of telling that this character can be present in "the string" (which one? either?), but don't tell us whether this character has any special meaning.
|
|---|