NCATComp410 / comp410_summer_2023

Repository for COMP-410 summer 2023
GNU General Public License v3.0
0 stars 3 forks source link

Implement Phone Number Detection #5

Closed ncholliday closed 1 year ago

ncholliday commented 1 year ago

Description: Detecting and protecting a phone number is crucial in today's digital age where communication is predominantly facilitated through mobile devices. Detecting and protecting a phone number is essential for maintaining effective communication, fostering personal and professional relationships, ensuring personal security, preventing scams and fraud, preserving privacy, managing reputation, and facilitating emergency assistance. Safeguarding this crucial contact information allows individuals to maintain control over their digital presence, protect their personal information, and enhance their overall security and well-being.

For example:

999-222-4444

Detection Steps: Python code will be developed which will detect decimal numbers in the XXX-XXX-XXXX format. The hyphen will be included in the accepted characters that will be inputted into the code.

claesmk commented 1 year ago

Many people write their phone number as 336.555.1212 or (336)555-1212. I think these cases need to be handled as well

ncholliday commented 1 year ago

Thank you, that is very common and valid. There are some cases where prompts only allow number (ex. 4104439082). Do you think it should also handle just all numbers? @claesmk

claesmk commented 1 year ago

That's a great observation. I think it's a great idea to also recognize a 10-digit number as a phone number

ncholliday commented 1 year ago

Thank you!