I would use a regex search rather than a wildcard in this situation:


var %re = /[\s^] $+ $replace(%entry,.,\.) $+ [\s$]/i
echo -a $hfind(iptracker,%re,%c,r).data

(untested)

[\s^] = match a space or beginning of line
[\s$] = match a space or end of line

\. = escape . characters to \. ( . has special meaning in regex)


-genius_at_work