Pattern Extractor
Extract text matching a specific pattern in just two clicks.
PicoToolkit allows you to find and extract all text fragments that match a specific pattern.
The pattern may be in the form of a regular expression, which lets you precisely describe the details of matches you wish to extract.
How does this regex extract tool work?
Our editor scans the entire text you provide against the specific pattern or regular expression.
Popular use cases
The potential applications of this tool are essentially limitless. Below we list several examples of the most popular ones:
Extract dates from the document
Dates may be expressed in many different forms, for example, as YYYY-MM-DD. If you wish to list all dates available in the document use the following procedure.
- Click Extract -> Pattern
- Type pattern \d{4,4}-\d{2,2}-\d{2,2} and click Extract
- As the output, you will see the list of all dates matching the expected format.
Extract waybill numbers
Another helpful scenario may be finding all waybill tracking numbers in the document.
Courier companies assign a unique identifier to each parcel they carry. For example, FedEx assigns a 12-digit number as a waybill number.
To find the FedEx tracking numbers follow the instructions.
- Click Extract -> Pattern
- Type pattern \d{12,12} and click Extract
- As the output, you will see the list of all 12-digit numbers.
Similar tools
PicoToolkits offers you many build tools for the most popular needs. For example, URL extractor, phone number extractor, digit extractor, and email extractor.