Hongmu Notes

🔪 Text extraction by column

Split each row according to the delimiter and remove the column with the specified serial number.

Instructions for use

  • After filling in the delimiter and column number, click "Start Extraction"
  • Column numbers start from 1, and blank rows will be retained in the results.
  • Rows with insufficient columns output null values and include them in the status prompt.

What can this tool do?

  • Split each row according to the delimiter and extract the column with the specified serial number
  • Blank lines are retained as blank lines in the results to facilitate line-by-line comparison with the original text.
  • Rows with insufficient number of columns output null values and count the number of entries separately.
  • Results can be copied and exported to TXT for easy pasting back into the form

Actual measurement effect

Input (separator ---)Extract column 2
A---B---C
Ding---W---Ji
B
E
A---B
Ding
B
(null, the column is missing)

Only the values of the specified columns are retained, and other columns and delimiters will not appear in the results.

Usage tips

  • First make sure that each line uses the same delimiter so that the column numbers match.
  • Extracting an entire column is more stable than manual copying, and tens of thousands of rows will not be missed.
  • The results maintain the original line order and can be directly compared line by line with the original text.

All keywords and tutorials 12

❓ FAQ

how it is extracted
Cut each row into several columns according to the separators you fill in, and then output the column with the specified serial number, one value per row; the blank rows will be retained as blank rows in the result to facilitate line-by-line alignment with the original text.
Where does the serial number start?
Starting from 1: fill in the first column on the left with 1 and the second column with 2. If you fill in 0 or non-number, you will be prompted and the result will not be output.
What should I do if a certain row does not have this column?
The output of this row is empty, and the number of rows with "missing column" is given in the status line. The original implementation will directly write the word undefined, which can easily be regarded as the real content.
Will the data be uploaded?
No. Splitting and extraction are completed locally in the browser, and the input and results do not go through the server or written to local storage.