Regular expression for country code like +91 for India
            Asked
            
        
        
            Active
            
        
            Viewed 3,961 times
        
    -4
            
            
        - 
                    Could you rephrase your question? What do you want to do? – Czechnology Mar 02 '11 at 11:01
- 
                    1If i could vote this down i would. – Chris Mar 02 '11 at 11:01
- 
                    6@Chris: I did it for you. And for me. And for humanity. – sevenseacat Mar 02 '11 at 11:02
1 Answers
8
            
            
        Is it a question ? If you want to get a regexp to match country code like + with two digits, then use:
/(\+\d{2})/
 
    
    
        hsz
        
- 148,279
- 62
- 259
- 315
- 
                    can you pls tell a regex for between 1 digit to 3 digits after the + – Lakshay Dulani Aug 07 '14 at 13:52
- 
                    2
 
    