Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Joespower

    Get FQDN using Regular expression.. help!

    Thanks for your reply PHV, I've been looking at that document for a while but I'm still having problems. .... Agreed tsuji, I should have made a compilation of what I recieved from the other forum, but I was in a hurry when I made this post. I will go back and do that shortly.... In the...
  2. Joespower

    Get FQDN using Regular expression.. help!

    Okay guys, this is my first post, but I've used info from these forums in the past and you guys kick ass! Here is my question: I have a logon script that maps drives and printers, and I want make certain that the passed server references are FQDNs. So, I need a way to take a string and see if...
  3. Joespower

    Using a regular expression to validate FQDN...

    Hey guys, thanks for the help... Actually, I think I'm posting this in the wrong forum. I'm using VBSCRIPT, not VB for applications. I noticed because I can't use the "As" statement like the code above (I get an "Exspected End of Statement" error). So, I guess I'm going to repost this stuff...
  4. Joespower

    Using a regular expression to validate FQDN...

    I tried to run this code without alteration. It fails. I get a "Type Mismatch" error on this line: If ((Not (a)) = -1) Then This is the same error I was struggling with using tsuji's code...
  5. Joespower

    Using a regular expression to validate FQDN...

    Okay, I've been working on this code for a little while and trying to integrate it into my program. But, I have some problems. Read the coments for clarification: Function TestFQDN(this_server) Wscript.Echo "TestFQDN Called!" ' this_server is the server name portion of a UNC ' path...
  6. Joespower

    Using a regular expression to validate FQDN...

    Hey, thanks tsuji! This works to check the labels, but it does not go so far as to check if the entire string is a valid FQDN. For instance it doesn't check to see if there are at least 3 labels (like "a.b.c" ... while "a" is a valid label, it is not an FQDN by itself). I guess if the "a"...
  7. Joespower

    Using a regular expression to validate FQDN...

    Okay guys, this is my first post, but I've used info from these forums in the past and you guys kick ass! Here is my question: I have a logon script that maps drives and printers, and I want make certain that the passed server references are FQDNs. So, I need a way to take a string and see if...

Part and Inventory Search

Back
Top