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.
In reply to Re: Regex + substring
by JavaFan
in thread Regex + substring
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |