Results 1 to 3 of 3

Thread: What is Regular Expression?

  1. #1
    Expert Member
    Join Date
    Oct 2006
    Answers
    209

    What is Regular Expression?

    What is Regular Expression? In Testing where use Regular Expression?

    Note : This is the question asked by a visitor siva. I am posting this in proper forum.


  2. #2
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: What is Regular Expression?

    Regular Expression is a general format of values in a field.

    Let us suppose a software application needs the date input in the format “DD-Mon, YYYY” e.g. 16-Dec, 2006.

    Then the Regular Expression to represent and automatically convert the user input in above shown format should be,

    [0-9][0-9]-[A-Z][a-z][a-z], [0-9][0-9][0-9][0-9]

    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

  3. #3
    Expert Member
    Join Date
    Mar 2012
    Answers
    208

    Re: What is Regular Expression?

    Regular expressions are certain special text strings which can be used to describe a particular search pattern.

    Example:
    We can use the regular expression \b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}\b to search for an email address or to check whether the mail address entered is in a proper format.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact