winston6071
Programmer
hello
i just start with perl regex, and it seems it takes another while to really get into it, i tried to manipulate the code examples in here for string manipulations, but ... anyway just to stupid
what i have:
50:\\hostname description 1. Floor
so i just want to get the hostname, so i know how to do it manually with pointers or some other technic but this powerful stuff of regex is maybe better for this
if someone gives an example, can you please comment it a little for understanding, i want to really get the thing, to know how to do different stuff
another thing
if you have this:
12:12:12:44:44:50
would you better use the split ? or anyhow else ?
many thanks in advance
i just start with perl regex, and it seems it takes another while to really get into it, i tried to manipulate the code examples in here for string manipulations, but ... anyway just to stupid
what i have:
50:\\hostname description 1. Floor
so i just want to get the hostname, so i know how to do it manually with pointers or some other technic but this powerful stuff of regex is maybe better for this
if someone gives an example, can you please comment it a little for understanding, i want to really get the thing, to know how to do different stuff
another thing
if you have this:
12:12:12:44:44:50
would you better use the split ? or anyhow else ?
many thanks in advance