Regular expression capturing whole line

0

I need an expression to intercept the entire contents of a line, starting with a specific word and going to the line break. In this section everything can happen, I need you to identify everything without discrimination.

In short, I know how the line starts and I want everything else until the line breaks.

Could anyone help me?

    
asked by anonymous 14.06.2018 / 16:36

1 answer

1

You can do this:

^palavra.+

Where word is the beginning of the line you want to pick up.

Example: link

    
14.06.2018 / 16:41