what regex finds all words of length 6 or more in a string
<p>My regex has to parse all words which are longer than 6 symbols in multiline string.</p>

<pre><code>        Pattern pattern = Pattern.compile("(\\w{7,}\\s\\b.*)");

        Matcher mm = pattern.matcher(lines);

        if (mm.matches()) {

            String oldGroup = mm.group();
</code></pre>

<p>________Here is example input: </p>

<pre><code>1234567 1234567 1234567
1234 123 1234567
123 12345 1234 1234567
123
</code></pre>

<p>_______And here is expected ouput:</p>

<pre><code>1234567 1234567 1234567 1234567 1234567
</code></pre>

<p>So, i just need that only words with 6 or more letter symbols to be outputted.</p>