better regex filtering
updated version