Development Ruby

phone = "(555)123-4567"
phone.grep(/[\(\d{3}\)]?\d{3}-\d{4}/)# => ["(555)123-4567"]