Tool Introduction
The ID Card Number Extractor is an efficient and convenient online tool designed to help users quickly identify and extract all strings conforming to China mainland ID card number rules from any text content. This tool can accurately capture both new 18-digit and old 15-digit ID card numbers. Additionally, users can choose to display the total number of extracted ID card numbers for easy data statistics and verification.
How to Use
- Enter or paste the text you need to process into the “Content to extract” text box. This content can include any text, numbers, and symbols; the tool will automatically identify ID card numbers from it.
- (Optional) If you wish to display the total number of identified ID card numbers in the extraction results, please check the “Show statistics” checkbox.
- The tool will automatically process your input and display all identified ID card numbers in real-time in the “Extraction result” text box. Each number will appear on a separate line.
Input Parameter Format: Supports input in any plain text format, with no restrictions on content length or special characters.
Output Result Format: The extraction results will be displayed in plain text, with each ID card number occupying one line. If “Show statistics” is checked, an additional statistical number will be displayed above the list of numbers, indicating the total number of extracted ID card numbers.
Usage Example
Below is a specific usage example:
Example Input Data:
张三的身份证号是110101199003074512,电话是13800001234。
李四的证件号码:420106198512126633,地址:湖北省武汉市。
还有一个旧格式身份证:370982850101123。
无效号码:1234567890123456,测试结束。
Operation Demonstration:
Paste the above text into the “Content to extract” input box and check the “Show statistics” checkbox.
Expected Output Result:
Total 3 ID card numbers extracted.
110101199003074512
420106198512126633
370982850101123
Frequently Asked Questions
- Q: Which ID card number formats does this tool support for extraction?
- A: This tool supports identifying and extracting both 18-digit (new version) and 15-digit (old version) Chinese mainland citizen ID card numbers.
- Q: Can I process text containing a large number of ID card numbers at once?
- A: Yes, you can paste text containing a large amount of content into the input box at once, and the tool will automatically iterate through and extract all ID card numbers that conform to the rules.
- Q: Are the extracted ID card numbers validated for authenticity?
- A: The primary function of this tool is format matching and extraction based on regular expressions. It will identify strings that conform to the 18-digit or 15-digit ID card format, but it will not further verify the authenticity of the number, whether the checksum is correct, or if it represents a real existing citizen ID card information.
- Q: Does the extraction result include duplicate numbers?
- A: The tool extracts all matched numbers. If there are duplicate ID card numbers in the input text, the extraction result will also include these duplicates.
Important Notes
- Please ensure that the text you paste is clear and readable to avoid recognition failures due to encoding or formatting errors.
- This tool is only for ID card number format recognition and extraction and does not assume any responsibility for data verification or information accuracy. Users are requested to verify the authenticity and validity of the extraction results themselves.
- Do not use this tool for illegal purposes. Protecting citizens' personal privacy information is everyone's responsibility.
- When the input content is particularly large, the tool may require a short processing time. Please wait patiently.