I'm tearing my hair out on this one. I've searched through tek-tips but could not find a distinct answer for my question.
my search function script matches and finds a string, but I want to make the string search to be an *exact match*.
If I type in mybox1, it also finds mybox14, but I only want it to find 'mybox1'
I have this
if ($srch_host) {
$LookFor .= "\.$srch_hostHost";
}
else {
$LookFor .= '\.\w+?';
}
Thanks for the help.
my search function script matches and finds a string, but I want to make the string search to be an *exact match*.
If I type in mybox1, it also finds mybox14, but I only want it to find 'mybox1'
I have this
if ($srch_host) {
$LookFor .= "\.$srch_hostHost";
}
else {
$LookFor .= '\.\w+?';
}
Thanks for the help.