Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Regex Find and Move #23284
    Sal Jel
    Participant

    The code you provided here works like a charm, and that’s exactly what I needed because the text will have several lines between Cat1 and Dog1. You added the code (1,10) for the max of 10 lines. Is there a limit to how many lines it can search. (i.e 100 lines?). Thank you for the code you provided I really appreciate it.

    (Cat.*?Cat2.*?)\n{1,10}(Dog1.*?Dog2.*?)\n
    
    with
    
    \2\1\n
Viewing 1 post (of 1 total)