• + 0 comments

    By using grouping, i found this solution

    sed -E 's/([0-9]{4}\s){3}([0-9]{4})/**** **** **** \2/g'