{"id":20564601,"url":"https://github.com/hemmatiali/phone-number-detection","last_synced_at":"2025-09-25T23:30:22.728Z","repository":{"id":233992141,"uuid":"788156200","full_name":"Hemmatiali/Phone-Number-Detection","owner":"Hemmatiali","description":"This project provides a core phone number detection engine and an interface for adding your own pattern definitions. Supports text input, file uploads, and performance optimizations.","archived":false,"fork":false,"pushed_at":"2024-06-23T09:05:06.000Z","size":988,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T19:39:02.485Z","etag":null,"topics":["algorithm","csharp","dotnet"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hemmatiali.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-17T22:08:49.000Z","updated_at":"2024-08-13T13:55:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c405e8b-aeef-450f-bc76-ae01679bf53d","html_url":"https://github.com/Hemmatiali/Phone-Number-Detection","commit_stats":null,"previous_names":["hemmatiali/phone-number-detection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hemmatiali/Phone-Number-Detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hemmatiali%2FPhone-Number-Detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hemmatiali%2FPhone-Number-Detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hemmatiali%2FPhone-Number-Detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hemmatiali%2FPhone-Number-Detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hemmatiali","download_url":"https://codeload.github.com/Hemmatiali/Phone-Number-Detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hemmatiali%2FPhone-Number-Detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276995436,"owners_count":25742013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","csharp","dotnet"],"created_at":"2024-11-16T04:28:03.447Z","updated_at":"2025-09-25T23:30:22.191Z","avatar_url":"https://github.com/Hemmatiali.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phone Number Detection Application\n\nWelcome to the Phone Number Detection Application! This C# application is designed to extract and identify phone numbers from a given text input, supporting various formats and providing a robust, user-friendly experience. The code follows best practices, including SOLID principles, and is built with .NET 8.\n\n## Table of Contents\n- [Features](#features)\n- [Installation](#installation)\n- [Examples](#examples)\n- [Documentation and Comments](#documentation-and-comments)\n- [Constraints](#constraints)\n- [License](#license)\n\n## Features\n\n1. **Phone Number Detection:**\n   - Detect phone numbers in various formats including:\n     - 10-digit numbers (e.g., 123-456-7890)\n     - Numbers with country codes (e.g., +1-123-456-7890, +91-1234567890)\n     - Numbers with parentheses for area codes (e.g., (91) 1234567890, (123) 456-7890)\n     - Numbers with spaces or dashes as separators (e.g., 123 456 7890, 123-456-7890)\n     - Combination of English and Hindi numbers (e.g., ONE दो तीन FOUR FIVE छह SEVEN EIGHT NINE दो)\n\n2. **Display Detected Phone Numbers:**\n   - Display all detected phone numbers along with their respective formats.\n   - Indicate the format of each phone number (e.g., 10-digit, country code, with parentheses, etc.).\n\n3. **User Input:**\n   - Accept text input from various sources, such as a text file or direct user input through a console or GUI.\n\n4. **Output Formatting:**\n   - Format the output to present detected phone numbers in a clear and readable manner.\n   - Include information about the format of each phone number to aid user understanding.\n\n## Installation\n\nTo install and run the application, follow these steps:\n\n1. Clone the repository from GitHub:\n   ```bash\n   git clone https://github.com/Hemmatiali/Phone-Number-Detection.git\n   cd Phone-Number-Detection\n\n## Build the Application\n\nBuild the application using .NET Core or .NET Framework:\n\n```bash\ndotnet build\n```\n\n## Run the Application\n\n```bash\ndotnet run\n```\n\n## Examples\n\n```bash\nDetected Phone Numbers:\n- 123-456-7890 (10-digit)\n- +1-123-456-7890 (Country code)\n- (91) 1234567890 (With parentheses)\n- 123 456 7890 (10-digit)\n- ONE दो तीन FOUR FIVE छह SEVEN EIGHT NINE दो (10-digit)\n```\n\n## Documentation and Comments\n\nThe code is thoroughly documented with comments explaining the functionality of each component and method. Clear instructions are provided on how to build, run, and use the application.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](license.txt) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemmatiali%2Fphone-number-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhemmatiali%2Fphone-number-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemmatiali%2Fphone-number-detection/lists"}