java Regex Question
<p>In Java - I need to search/validate an input string for a number or for a specific string. it must be one of them.
For example - If I have this input lines:</p>

<pre><code>cccccccc 123 vvvvvvvvv jhdakfksah
cccccccc ABC vvvvvvnhj  yroijpotpo
cccdcdcd 234 vcbvbvbvbv lkjd dfdggf
ccccbvff ABC jflkjlkjlj fgdgfg
</code></pre>

<p>I need to find 123, ABC, 234, ABC</p>

<p>to look for the number I could use regex: "\d+" but to look for either of them How can I combine them?</p>
