1

Please help me to make this work. I have several .txt files and each one starts with:

<TABLE class="meta-attributes__table" border="0" cellspacing="0" 
cellpadding="0">

I need to replace only the first newline in each file so that the result to look like this

enter image description here

but without touching the rest of the newlines in the file.

Brooks
  • 119
  • 1
  • 8
  • possible duplicate of [How do I replace the \*first instance\* of a string in .NET?](http://stackoverflow.com/questions/141045/how-do-i-replace-the-first-instance-of-a-string-in-net) – alex.feigin May 04 '15 at 19:21

1 Answers1

2

Find: ^([^\n]*)\n

Replace: $1

Use verbatinum mode with @.

vks
  • 67,027
  • 10
  • 91
  • 124