Thanks for the suggestions.
I found a different way by using Regex101.com.
Example: 12a345-67b890-54c321
(?<=-).* -> 12a345
(?<=-).*(?=-) -> 67b890
.*(?=-) -> 54c321
I only have to use the first and last regex-code and it includes other characters as well.
Still working on a...
Thanks to the both of you.
The first one works perfectly.
Now i've got one a little bit more challenging.
Still haven't figured out how regex really works, but i get there.
Hi,
Can anyone tell me how I can get a part of a variable? (or maybe a work around)
For example:
Variable: 12345-67890
Var1 = 12345
Var2 = 67890
Var1 = from beginning to "-"
Var2 = from "-" to end
Next time the lenght of Var1 or Var2 can be different.
So i can't use Substring Start and End...