how can I give command line arguments in java and validate it
<p>I am trying to code for 2 command line arguments  where the first one is 'u' or 'l', nothing else and second a dna sequence(a,c,g,t) between 10 -20 letters, using regular expression to validate both arguments and trying to print sequence in uppercase if arg. is u and in lowercase if arg is l.the problem is i am not getting desired output.
Please guide me how to do this code in java.</p>
