Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [[ $ci =~ ^[0-9]\.[0-9]{3}.[0-9]{3}\-[0-9]{1}$ ]]; then
- echo "C.I valida."
- else
- echo "C.I invalida."
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement