how to search some character inside string
        Posted  
        
            by klox
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by klox
        
        
        
        Published on 2010-06-09T01:34:16Z
        Indexed on 
            2010/06/09
            1:42 UTC
        
        
        Read the original article
        Hit count: 342
        
i have been type some string inside textfield that is "KD-G435MUN2D"... i already use this code for search "UD" character from that string:
<script>
     var str="KD-R435MUN2D";
     var patt1=/UD/gi;
     document.write(str.match(patt1));
</script>
but this code doesn't work..where is my fault?
© Stack Overflow or respective owner