That works perfectly, THANKS.
I did attach the file it was below the code, hard to see.
Can I ask what was the $1 was for? I am assuming the rest of the text after pattern was found?
I guess I was over thinking the process, that I needed a for each loop.
Search found 48 matches
- Thu Jun 04, 2009 7:14 am
- Forum: VBScript
- Topic: List text by date
- Replies: 5
- Views: 2727
- Thu Jun 04, 2009 6:57 am
- Forum: VBScript
- Topic: List text by date
- Replies: 5
- Views: 2727
List text by date
jvierra with your strPattern I am getting all the dates now, THANKS.
Still working on get the rest after the date.
Still working on get the rest after the date.
- Thu Jun 04, 2009 6:42 am
- Forum: VBScript
- Topic: List text by date
- Replies: 5
- Views: 2727
List text by date
I have attached the text file and have made changes to my script. I am getting more information but it is like I am having to go word by word with the regular expression. Option Explicit Dim oFSO, oTextFile, strText, oRE, strPattern, arrMatches, item, retStr, strSeachString strPattern = "([1-9]...
- Thu Jun 04, 2009 2:07 am
- Forum: VBScript
- Topic: List text by date
- Replies: 5
- Views: 2727
List text by date
I have a text dump of a comment field and am trying to list the text by the date that is included. I have tried RegExp but could not get that to work and I also tried Instr. Any suggestions would be great. Thanks Here is the text. 6/4/2009 nhaji 02:20 - Site is activated with Abdelhak-mod with no is...
- Thu Jun 04, 2009 2:07 am
- Forum: VBScript
- Topic: List text by date
- Replies: 5
- Views: 2727
List text by date
I have a text dump of a comment field and am trying to list the text by the date that is included. I have tried RegExp but could not get that to work and I also tried Instr. Any suggestions would be great. Thanks Here is the text. 6/4/2009 nhaji 02:20 - Site is activated with Abdelhak-mod with no is...
- Thu Apr 30, 2009 6:57 am
- Forum: Other Scripting Languages
- Topic: Require Checkbox to be checked
- Replies: 9
- Views: 9100
Require Checkbox to be checked
I was using a span as that is what I had figured out to use and was in your example. Yes this is true, no more checkbox. I should have started another post but since you gave me an example to create a table with Divs, I figured that might be easier but probably more confusing. What I am actually try...
- Thu Apr 30, 2009 3:40 am
- Forum: Other Scripting Languages
- Topic: Require Checkbox to be checked
- Replies: 9
- Views: 9100
Require Checkbox to be checked
jvierra, In trying your method for creating tables with Divs I have come across something that I can't solve. I am trying to create a table like this. uploads/29420/CreditValidationTestTable.hta.txt I have gotten this far: uploads/29420/CreditValidationTestTableDIV.hta.txt but am unable to figure ou...
- Sat Apr 25, 2009 9:48 am
- Forum: VBScript
- Topic: Microsoft Word fields and drop downs
- Replies: 0
- Views: 1771
Microsoft Word fields and drop downs
I am trying to get a script that will open a Word Document go thru the fields and return specific fields to display. So far I found a script on the Scripting Guys website but am unable to get the specific fields I need as well as getting the value in the drop down portions as they are in addition to...
- Fri Apr 24, 2009 2:05 am
- Forum: Other Scripting Languages
- Topic: Browse for Files in HTA
- Replies: 3
- Views: 9186
Browse for Files in HTA
I am trying to get the BrowserForFolders method to be used to select a file, actually a word doc. I found a vbscipt that uses the BrowseForFolders to be able to select folders or files. I am getting a syntax error and I dont know what it is as it looks fine to me. Can I get someone to look at it for...
- Thu Apr 23, 2009 2:02 am
- Forum: Other Scripting Languages
- Topic: Require Checkbox to be checked
- Replies: 9
- Views: 9100
Require Checkbox to be checked
I have modifed the code to have a span that would change after the checkbox was clicked but am receiving a syntax error on line 9. I think this is because the element <span> does not have an element.value. Is there another way to accomplish this? <html> <head> <title>My HTML Application</title> <scr...