I have some output like:
Each line comes separately, the line breaks can be anywhere. I would like to put this together in a one line string, then search some regex in there, for example:Ein Schmetterling ist absolut fit und ist damit absolut, unglaublich
schwaecher als Du. Er kaempft mit seinen Fluegeln. Er macht damit folgenden
Schaden: Schlaege. Damit kaempft er deutlich schlechter als Du. Ein
Schmetterling traegt keine zusaetzliche Ruestung. Damit ist er sehr viel
schlechter als Du geschuetzt.
Ein Schmetterling ist etwa 178cm gross.
- (ist absolut fit|sieht recht mitgenommen aus|braucht dringend einen Arzt) und ist damit
- und ist damit (absolut, unglaublich schwaecher|etwa genauso stark|viel staerker) als Du
- Damit kaempft (er|sie|es) (.*) (als|wie) Du.
- etc.
How can I combine all these lines in a single string, then test accordingly?
I assume, create a new trigger group, match the first regex above. Below the group, add more triggers. One of the triggers should just capture each line, add it to a collective string. Another trigger will end the collection on the word "gross". More triggers can then look at the collective string more specifically for the other regex above.
Any help is greatly appreciated.