no solution?


  • 0
    4

    Just

    grep -e '^([[:digit:]]\{3\}) [0-9]\{3\}-[0-9]\{4\}$' -e '^[[:digit:]]\{3\}-[0-9]\{3\}-[0-9]\{4\}$' file.txt
    

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.