Replace all vowels with 1,2,3... java : <p>Given a String str, return a string with all vowels replaced with numbers using the following rules.</p>

<p>Upper cased vowels should be replaced with increasing odd numbers starting at 1. For example, the first upper case vowel would be replaced with a 1, the second with a 3, the third with a 5, and so on.</p>

<p>Lower cased vowels should be replaced with increasing even numbers starting at 2. For example, the first lower case vowel would be replaced with a 2, the second with a 4, the third with a 6, an so on.</p>

<p>There may be case where the number to use as a replacement is more than one digit. In that case the vowel should be replaced with both digits.</p>

<p>Examples:</p>

<p>replaceAllVowels( "Hello" ) => "H2ll4"</p>

<p>replaceAllVowels( "HELLo" ) => "H1ll2"</p>

<p>replaceAllVowles( "hello there this is a really long string") => "h2ll4 th6r8 th10s 12s 14 r1618lly l20ng str22ng"</p>

<p>I'm lost with this one. Help would be greatly appreciated.</p>
