Quantcast
Viewing all articles
Browse latest Browse all 707

Regex changes - how to deal with newline

In a reversals .xhtml file I want to remove an entire section of the class=“letHead”, including the reversal entries. I have tried to write a regex change and this is what I currently have:

Find:

1(.+\s.+)

Replace:

The xhtml has a CRLF that I need to account for - see screenshot from Notepad++. However, the \s in the regex in the DAB change doesn’t work as per regex101.com where it is described as being used for any whitespace character including \r\n etc. Any ideas of how to do this please?

Image may be NSFW.
Clik here to view.
image

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 707

Trending Articles