Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10678

    jugaor
    Member

    Hi!
    I have a very specific need with (x)html files… I want to replace every start of line between

    blocks, to exclude’em from the next operations.

    I tried
    Search line:

    n]*>s*)(

    [^>n]*>[^n]+?

    s*)+

    Replace:

    1 = optional parameters (i.e. “class”)
    2 = every line, starting with

    But after the ‘Replace All’ operation, EM lets the block with only the last line (starting with ###)…
    Is there any way to do this?

    Thanks in advance,

    #10687

    jugaor
    Member

    I found that by changing the Search line to:

    n]*>s*)((

    [^>n]*>[^n]+?

    s*)+)

    EM doesn’t lose any text, but only places the replacement ### at the first line …

    Any ideas, please?

    #10689

    Yutaka Emura
    Keymaster

    Hello jugaor,

    I am not sure what you would like to do. Can you please write a sample file so that we can figure out.

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Share with friends... Tweet about this on TwitterShare on FacebookShare on Google+Email this to someone