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

    Validate Zip code using JavaScript Regular expression

    Continuing with my series of JavaScript regular expression today we will see how easy it is to validate zip code using regular expression in JavaScript. Previously we talked about validating email and Social Security number using JS regex. In today’s post, I’ll show you how to use JavaScript regular expression to validate zip code. Let […]

    How to validate Social Security Number (SSN) using JavaScript Regular Expressions

    When I wrote the JS regular expression article last week I had no idea that it will attract so many visitors. Not only did so many people read this post, many more visited my blog searching for other regular expressions. So I decided to write few more posts about JavaScript regular expressions and how to […]

    Automatically twitter your posts

    Twitter is a wonderful tool to promote your blog. Typically after they publish a new post bloggers logon to their twitter account and inform their followers that they have published an interesting new post. But there is a better way to promote your post. twitterfeed automatically informs your followers about your new posts. How cool […]

    Validate email address using JavaScript regular expression

    Last month I wrote about regular expressions in Java, today I’ll show you how to use regular expression in JavaScript to validate email address. Here is the code to validate email address in JavaScript using regular expression. function validateEmail(elementValue){ var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; return emailPattern.test(elementValue); } Explanation: The argument to this method is the email […]

    Backlink extravaganza

    Today I am announcing a new montly backlink giveaway. Every month I’ll invite bloggers to post a link to one of their favorite posts on their blog. I’ll then compile those links in a post on my blog. It is a win-win situation for all of us. I hope to get more traffic and you […]

    Set focus on the first text field of HTML form.

    A HTML form is a very good channel that you can offer to your visitors to contact you. An aesthetically appealing form encourages user to fill and submit it. It is equally important to make the form as user friendly as possible. Today I’ll share a small JavaScript function that will set the focus on […]

    Best tutorials by not so famous bloggers

    Last week DailyBlogTips invited bloggers to write turtorials as part of DBT’s blog writing contest. I submitted my tutorial about Google Custom Search for blogs. In all, 71 excellend tutorials covering wide-ranging topics from blogging, montezing to health were submitted. This contest not only provided an opportunity for many bloggers to present their posts to […]

    How to incorporate Google Custom Search engine with Adsense into your WordPress blog.

    AdSense is by far the most popular and easy to use advertisement program for new bloggers. With AdSense you earn money when users click on the ads on your website. But the ads are not the only source of revenue for your blog. You can use AdSense for Search to increase your revenue. But a […]

    Improve your Alexa rank

    If you are thinking of monetizing your new website you should consider imporving your Alexa rank. Most advertisers and advertising serives like Text Link Ads, Sponsored Reviews etc. use Alexa Rank to determine the worth of a link on your web site. Alexa rank is the level of traffic your site received from Alexa toolbar […]

    Email

    How to validate email, SSN, phone number in Java using Regular expressions.

    Regular Expressions offer a concise and powerful search-and-replace mechanism. They are patterns of characters used to perform a search, extract or replace operations on the given text. Regular expressions can also be used to validate that the input conforms to a given format. For example, we can use Regular Expression to check whether the user […]

    «< 10 11 12 13 14 >»

    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 2025
    Powered by WordPress • Themify WordPress Themes