Skip to content

[Feature request] Skip lines until certain text appears #245

Description

@LupinIII

Feature Proposal

It would be nice to have an option that skips lines until a certain text appears (in the simplest way at the beginning of the line, or more versatile with a regex). The fixed number for skip lines is too rigid for an application I have. The numeric skipLines option should still be there, after which the, let's call it, skipUntil option checks the lines for a text match. A match would be the first line of the import.

Feature Use Case

I have a CSV file that comes from a banking application. That file contains a few lines with miscellaneous information at the beginning. The problem is that the number of lines is different depending on export settings. The actual CSV-data start at line 7, 8 or 9 with the column headers. The column headers are always the same, which I could match for to mark the start of the data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions