This commands deletes all lines that match the search string specified. The
syntax is:
yank /string/
or
yank //regularexpression/
The syntax for specifying search strings follows the rules for regular
searches (see p.) or for regular expression
searches (see p.). The final / can be followed
by options, just like with the regular search commands. Remember, regular
expressions cannot be used in backward search mode.