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 TouchToneTommy 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: *

  • Users: weloki
  • Content: Threads
  • Order by date
  1. weloki

    script to automatically retrieve IP addresses

    Hi, where I work we are collecting info on our computers, and one thing we require is a listing of the latest IP addresses assigned to the users’ machines. They are mostly set to DHCP, so the idea I had was to check each machine every day with a script that would find their IP addresses, and...
  2. weloki

    CGI script containing regular expressions

    I have a perl file that contains some regular expressions, and I want to make it into a CGI script. Can something like this run on the web so that when the user points to it with their browser it will execute the perl file and deliver the results of the search and replace? Every time I try it...
  3. weloki

    help with regular expression puzzle

    suppose i have the string: "iX... iY... iX... iY" and i want to replace all occurrences of iX with "i1" and all occurrences of iY with "i2", yielding "i1... i2... i1... i2" how can i do this with a single regular expression that will also replace the string "iY... iX... iY... iX" with the string...
  4. weloki

    help with a special regular expression.

    i am trying to use a regular expression to match all characters that are NOT enclosed within parentheses. I have tried the following, among others, on the file: [^(\(.*\))] [^\(+[A-Z]+.+[a-z]\)] so i am trying to use the "not" operator [^ ] to select all characters that are not within the ( )...
  5. weloki

    How to use a regular expression on a text file

    Greetings, this is a newbie question: I need to know how to tell perl to use a regular expression on a text file and print the results. If I have a file "talk.txt" and I want to match all the strings, "abc" in that file, how do I tell perl to use the regexp on talk.txt? How...

Part and Inventory Search

Back
Top