RegEx - restrict to 1st line

Would this suffice?