Would newlines need to be matched against via regex?

Just looking for clarification on exactly how text would be analyzed.

Let’s say I use the visual selector to capture several lines of text which would appear to utilize newlines. When setting up a regex-based condition, would I have to account for these possible newlines or would they simply be considered spaces, similar to how they might appear within the “Text” version of history?

I assume “Added Text” would concat the new entries separated by a space, but what if the added text would be in the form noted above? Would those newlines essentially be replaced by spaces?

@shadowmoses When using a regex-based condition, you may need to account for whitespace differences in the extracted text. Depending on the page content and structure, some spaces or newlines may be removed while others may be retained. Because of that, it is usually better to make the regex flexible rather than matching exact spacing.

For Added Text, new lines will not appear, so you generally do not need to account for line breaks there.