view · edit · sidebar · attach · print · history

<< DeleteUptoCharacter | Index | FormatLine >>

Match EAN-Code with spaces (BM PDF file)

  • /\d\{5} \d\{3} \d
  • /76 80 \d\{5} \d\{3} \d

Remove all lines that do not match regular expression

  • g!/76 80 \d\{5} \d\{3} \d/d

Copy matches

Open New File

  • <CTRL + W> n

Paste Matches

Finally remove the white spaces

  • %s/ //g

Find EAN and "A+"

This will work too

  • /\(76 80 \d\{5} \d\{3} \d\)\|\(A+\)

Then copy the matches in the new file

  • /76 80 \d\{5} \d\{3} \d\nA+

Remove blank lines

  • g/^$/d
view · edit · sidebar · attach · print · history
Page last modified on July 25, 2014, at 01:23 PM