How do you use the Contains Function in Visual Basic?

How do you Use Wild-card in javascript for regular expressions. (10pt for anyone that answers)?

  • I am trying to use wild-card for my particular javascript file that contains regular expression code and functions. can anyone link my to an online tutorial or give me deep detailed information on how to use wild-card in javascript. Heres my code below: function editNodeText(regex,input,helpId,helpMess… if(!regex.test(input)){ if(helpId != null) helpId.appendChild(document.createTex… return false; } else if(helpId != null){ while(helpId.firstChild)) helpId.removeChild(helpId.firstChild)… return true; } } function isTheFieldEmpty(inputField,helpId){ returneditNodeText(/.+/,inputField.va… enter a value"); } function isAddressOk(inputField, helpId){ return editNodeText(/^\d{1,6}\s\w{3,16}\s\w{2,8… a proper Street Address (Ex. 1234 Main St.)"); } function isStateOk(inputField, helpId){ return editNodeText(/^A[LKSLZRAEP]|C[AOT]|D[EC]… inputField.value, helpId, "Enter State Code in Uppercases (Ex. NY, for New York)" ); } function isPhoneOk(inputField, helped){ return editNodeText(/^([0-9](|-)?)?(\(?[0-9]{3}… inputfield.value, helpId, "Enter a Phone Number (Ex. 412-828-3000)"); } function isEmailOk(inputField, helpId){ returneditNodeText(/^[A-Za-z0-9] (([_\.\-]?[a-zA-Z0-9]+)*)@([A-Z a-z]+)(([\.\-]?[a-zA-z0-9]+)*)\.([A-Za-z… inputField.value, helpId, "Enter an Email(Ex. [email protected])"); }

  • Answer:

Dominic A at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.