PhpED uses PCRE (Perl Compatible) regular expression syntax. Try searching for
var\w* and that will search for var followed by word characters with repetition. It should then stop at the next space, =, bracket, etc.
To match to a specific end character such as the ; (so you don't include comments) then use
var.*; and to match to end of line (including any comments) you can just use
var.* and the greedy repitition will go to the end of the line.
I would probably be inclined to use a variable prefix if possible, such as
\$var\w* so that I didn't find things that contain var, such as var_dump().
