zParacha.com
Effective Programming Tips
    • Home
    • Programming
    • Java
    • Algorithms
    • Javascript
    • About
    • Privacy Policy

    Java RegEx to validate Gmail address

      I’ve written about Java regular expression to validate email addresses before. Today I am sharing another Java regex to validate Gmail address. It is quite simple and self-explanatory.

    How to find largest and smallest numbers from input in Java

    Following simple Java program shows how to read input values and then print smallest and largest values. It reads the input from standard input using Scanner and then uses methods from Math class to determine the largest and smallest numbers entered by the user.

    Array Bubble Sort in Java

    Although Java’s Arrays class has a built-in method to sort an array, it is important for good Java developers to know how to sort an array on their own. Bubble sort is the simplest sorting algorithm.

    Top 10 Eclipse Keyboard shortcuts for Java developers

    Here is a list of 10 commonly used Eclipse shortcuts for Java developers. Ctrl + Shift + T: Open a type (e.g.; a class, an interface) without browsing through list of packages Ctrl + Shift + R: Open any file quickly without browsing for it in the Package Explorer Ctrl + O: Go directly to […]

    How to validate Date using Javascript Regular Expression

    Here is a simple Javascript function to validate a date in US format.

    How to redirect homepage in Joomla

    Joomla is a wonderful platform to publish websites. With readily available templates you can have your website up and running in no time. Sometimes though you may need to direct your visitors to a different page than your regular home page, for instance you may want to direct all the visitors to a promotion page […]

    Sort numbers in Java to find minimum and maximum values without using Array

    Recently a reader contacted me with a question about sorting numbers in Java. After sorting the number the program then needs to print the largest and smallest values. I have written a post earlier that shows one way of finding largest and smallest numbers. That approach used Arrays but the reader wanted to find largest […]

    javaString

    Java String comparison. The difference between == and equals().

    Many Java beginners find it difficult to differentiate between == operator and the “equals()” method when comparing String variables in Java. They assume that both operations perform the same function and either one can be used to compare two string variables. I have even seen many experienced programmers committing the mistake of using “==” to […]

    Various Doctypes

    An HTML element you don’t want to omit.

    As web developers we have the tendency to blame web browsers for inconsistencies and for not displaying the pages as designed. Most of the time the blame is justified, but there are instances when the blame lies at the feet of the web developers. For example, incorrect CSS declarations, missing closing tags in HTML documents […]

    How to remember CSS Shorthand properties

    Using margin or padding properties of CSS in the following syntax is straight forward. { padding-top:5px; padding-right:12px; padding-bottom: 15px; padding-left: 20px; } But the shorthand version of these properties may be a little difficult to remember for CSS beginners. The above CSS declaration can be written as; {padding:5px 12px 15px 20px;} Now how do you […]

    < 1 2 3 4 5 >»

    Recent Posts

    • Insertion Sort Algorithm In Java
    • Selection Sort Algorithm in Java
    • How to calculate the height of a Non-Binary Tree
    • Easiest way to calculate elapsed time in Java
    • Java Regular Expression to Validate Social Security Number (SSN)

    Categories

    • Ajax
    • Algorithms
    • Best Sites
    • Best Software
    • Blogging
    • Cricket
    • CSS
    • Featured
    • Images
    • Java
    • Javascript
    • Most Popular Posts
    • Offbeat
    • Pakistan
    • Programming
    • Spring
    • Top Stories
    • Twitter
    • Uncategorized
    • Web Development

    Tags

    Alexa Array Blogging cascading_style_sheet Cricket CSS Eclipse Entrecard iBlogCup India vs Pak India vs Pakistan Java Java IDE Javascript Pak vs India Phone number plugin problogger Programming Language RegEx Regular Expression shorthand properties Simpson Sort Sorted Vector Sort numbers sort numeric arrays Spring SSN String string in switch stylesheet design substring switch text-shadow text replacement Thunderbird TIOBE Tip TOMY Co tools Twitter web development tools WordPress workspace

    Back to Top

    © zParacha.com 2023
    Powered by WordPress • Themify WordPress Themes
     

    Loading Comments...