Remove x no. of rows from Notepad

What happens if you substitute x with an actual value in your RegEx expression. Does it work?