摘要 |
Disclosed are a data extraction method and device, the method comprising: determining extracted target data according to a data packet; matching the content in the packet data according to a predetermined regular expression; and when at least two pieces of target data exist in the packet data, extracting the at least two pieces of target data. The present invention solves the problem of inaccurate extraction of the target data in the related art, thus realizing accurate extraction of the target data. |