I have an issue related to regex check at least one string and number which exclude any sign like @!#%^&*. I have read many articles but I still can not find the correct answer as my expectation result.
Example: I have a string like : 111AB11111
My expectation result: If input string
- "1111"=>false
- "AAA" =>false
- "1A" => true
- "A1" => true
- "111AAA111"=>true
- "AAA11111AA"=>true
- "#AA111BBB"=>false
- "111AAAA$"=>false
Which java regex patter can show above mentioned cases Thank for your value time for checking and suggestion Thank you!!