Filter to detect and treat outliers in field data

I have 2d measurement data (x,y,u) which have some outliers, see e.g the highlighted regions below. To reproduce my picture, Table2Points and Delaunay2d needs to be applied to the attached file.

Is there any filter to detect and ideally replaces the outliers with better values?

data.txt (611.0 KB)

The better approach is probably a simple programmable filter

Any recommendation what command woule be pertinent here?