jedit - Find from last blank line to string using regex -


I need to search jEdit for a string that starts from the end of the last blank row to the second string :

/ P>

  blah blah blah blah blank line empty line empty line * start here * blah blah blah blah blah blah ------ running --- ---  

This idea is to do a search and place everything before the string (I have bolded) ------ move Yes ------ But there are no rows or strings before that last line.

Can someone recommend the appropriate reggae to find the beginning of the string from the end of the last line------ running ------?

Thank you! Use the regex below and then remove the matching string with an empty string.

(? S) (? & Lt; = \ n) (?: (?! \ N \ n). * * \ N (? = [^ \ N] + - ---- Running - -----)

Java will be regedx,

  (? S) (? & Lt; = \\ n ) (?:(?! \\ n \\ n). * * \\ n (? = [^ \\ n] + ------ running ------)  < / Pre> 


Comments

Popular posts from this blog

c# - NewtonSoft JArray - how to select multiple elements with LINQ -

c# - Process.Kill() returns access denied -

c# - Using the generic type 'System.Collections.Generic.List<T>' requires 1 type arguments -