How to remove lines starting with specific character? Daniel Moore | July 05, 2026 I need to remove all lines starting with number 8. My document contains few hundred lines. All starting with the number 8 need to be removed.1 AnswerGo to "Search" -> "Replace" and check the "Regular Expression" on:^[8].* replace with " "1 Your Answer Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Submit Post as a guest Post as a guest Post Your Answer Discard By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy