How to copy specific lines from one file to another?
<p>I have a text file with about 3000 lines. Some lines start with numbers and some with text. For example:</p>

<p>Lines that start with numbers:</p>

<p>001 some text</p>

<p>0017 some text</p>

<p>8 some text... </p>

<p>Lines that start with text:</p>

<p>some text,</p>

<p>some text...</p>

<p>I want to copy lines that start with numbers to result.text.</p>

<p>Lines that start with text to log.txt.</p>

<p>Thanks a lot.</p>