How to validate an email using Regex in Java
Validating an email address in Java is quite simple with the Regular Expression(regex). I searched for many of the regular expression and found a simple way of validating an email.
How to count the occurrences of a character in Java – Three Better Ways
In this comprehensive tutorial by Bala Subramanyam Lanka, you'll discover three efficient methods for counting the occurrences of a character in Java strings. These techniques not only showcase different approaches but also highlight the versatility of Java programming.
How to use Regular Expressions in Java – String Class Tutorial
Many languages like Java, Python, C#, Perl, Groovy and others support Regular Expressions in their own way. Let us see how regular expressions are used and the syntax of different regular expressions in Java.
How to use Regular Expressions in Java – Syntaxes
Many languages like Java, Python, C#, Perl, Groovy and others support Regular Expressions in their own way. Let us see how regular expressions are used and the syntax of different regular expressions in Java.
What is meant by Regular Expression and Where it is used in Java
Regular Expression, widely termed as Regex is a sequence of characters which forms a search pattern. It is used to match the patterns in the string or the text. Using the regex we can find a pattern and also we can replace the pattern(speaking in perspective with Java).
Final Keyword in Java – Three Main Uses
In Java, the keyword final is a simple but powerful tool that allows us to write code that is more readable, enables the compiler to catch some logic errors, and prevents accidental misuse of classes and member functions.
Generating Unique Id in Java Part 2 – UID Java Tutorial
With reference to the previous [post][1], we had another way to generate the unique id in Java through UID class from the rmi server package in Java. This is an alternative method to use if we are still using Java versions below 5.
Generating Unique Id in Java Part 1 – UUID Java Tutorial
Generating the Unique Ids in Java is a very easy task. There are many ways to generate unique ids in Java, one of the best way is to use UUID class from the util package in Java.
How to concatenate two strings in Java
The basic operation we perform daily in Java is concatenating the strings. Concatenation of strings in Java can be achieved in three ways.
How to use Calendar in Java
There is a great confusion between Calendar class and GregorianCalendar class. Let us look into these classes in detail. These classes are for providing the standard calendar for world.