hi,
How will write a regular expression of date in VB scripting.

Answer Posted / pravati

.*12/2/2016.*

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

2552


What is the use of the date function in the vbscript language?

560


What are the differences between sub procedures and function procedures?

519


Differentiate javascript and vbscript?

567


What is difference between vbscript and vba?

608






What if you do not specify anything when you call a procedure?

532


What is the difference between function and procedure?

569


Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it

2235


There are 5 web pages.write a script to click the button on 4th web page.

2938


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

545


Out of the different type of operators, which are evaluated first and last in the vbscript language?

561


How will you get the octal value of the given number in vbscript?

497


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

1537


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

1835


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

3188