Tag: regular expression
-
How to find sum of digits in an alpha numeric value
This is the first complete solution to find the sum of digits from a given alpha numeric value by mainly using String and Character class methods along with regular expressions and exceptions.
-
How to reverse each word in a sentence without using reverse method
This is the first complete solution to reverse each word in the given input line of strings. This program uses the core logic to reverse each string. This code now only accepts alphanumeric strings instead of pure integers, symbols and null strings.
