Use the "Find" dialogue and search for lines starting with "abcdef" - in the "Find" dialogue the is a button "Mark All" use that and it will "Bookmark" all lines matching the find criteria.
A regular expression to anchor your search to the beginning of each line is needed - there are details in the help on that, and you can get help on that in the "Regular Expression" part of the forum.
Then to delete all the marked lines go to the menu item "Edit" - > "Delete", you will see an option to delete all marked lines.