Hello. I have another question, cause i manage to put it work only in one situation.
Reorx Bla 106 761 0 0 1205 0
This is the MUD information. How can i save the value, in this case, 761? I know how to save it to a variable. Everything works if the case is that, but if anything changes in that sentence, for example:
Reorx Bla 106 761 0 106 1205 0
It changed the 0 to 106. If that happens, the variable that has the 761 saved, doesn't changed anymore. My trigger is as followed:
If you see closely, the spaces between the wildcards are really there. If i don't put them, the trigger doesn't match anythig. My problem besides collecting those numbers it, if let's say the wildcard 3 changes from one to two digits, then the space between the wildcard 3 and 4 changes, if goes from 4 spaces to 3 spaces. How can i collect these changing variables?
Thank you
That's where the less greedy regex Nick used with \d in his very first response is useful. Your .* is capturing the entire line, white space and everything because that's what it's designed to do, you need to use a less greedy expression if you want to pull out the center of a changing string of text.
Hi Nick. Ofcourse i've tryed what you said, if tried endless ways. I won't come here to ask for help, if i didn't try what you and other people say. That will be making you all loosing time.
Gonna try all, again.