reset the counters exception two users

i want to reset All counters exception two users “Jone” , “rayan” in hotspot
how to do this in scripting

Any suggestions please

Try this. Tested on v6.20

/ip hotspot user
:foreach i in=[find] do={
  :local name [get $i name]
  :if ($name != "Jone" && $name != "rayan") do={
    reset-counters $name
  }
}