Home > Net >  Ask ace to grant instruction the key to a regular expression functions can extract text information
Ask ace to grant instruction the key to a regular expression functions can extract text information

Time:01-26

 
The StringBuilder STR=new StringBuilder ();
STR. Append (" ");
STR. Append (" invoice code: 01225668 ");
STR. Append (" Beijing electronic commercial invoice unified VAT invoices producer invoice number: 999666996 ");
STR. Append (" the chapter ");
STR. Append (" the national tax administration of make out an invoice date: 2021 01 10 year month day ");
STR. Append (" machine no. : 66182225556 Beijing tax official school check code: 66666 77777 88888 99999 ");
STR. Append (" taxpayer identification number: 911111111111111111688 ");

For the key to a regular expression functions can extract text information
Such as
Input invoice code may obtain 01225668,
Input machine code may obtain 66182225556
Input of make out an invoice date available: 2021 01 10 year month day
Enter the taxpayer identification number can be obtained: 911111111111111111688

CodePudding user response:

Direct use baidu do not invoice OCR sweet? Why the whole text recognition, then through regular match
  •  Tags:  
  • C#
  • Related