← GalleryLinePatern✨ Emoji Combos/(?i)(?<Lp>\d{1,2}(?![\s\S]*?(Lp\.|Ilość|Cena)))\s*(?<NazwaProduktu>([\S ]*?[\n\r]*){1,3})\s+(?<Ilosc>([a-z]{3}|\d{1,3}\s*[a-z]{3}))\s*(?<SWW>\s*\d{2}\.\d{2}\.\d{2}.\d{1,2})\s*(?<CenaNetto>(\d{1,3},\d{2}|\d{1,3}\.\d{1,3},\d{2}))\s*(?<WartoscNetto>(\d{1,3},\d{2}|\d{1,3}\.\d{1,3},\d{2}))\s*(?<StVAT>\d{1,2})\s*(?<KwotaVAT>(\d{1,3},\d{2}|\d{1,3}\.\d{1,3},\d{2}))\s*(?<WartoscBrutto>(\d{1,3},\d{2}|\d{1,3}\.\d{1,3},\d{2}))\s*(?<Waluta>[a-z]{3})/gmPCRE+06 years ago✓ Pre-loaded
About this regex
Parses individual line items from Polish invoices or receipts, extracting fields like line number (Lp), product name (spanning up to 3 lines), quantity with unit, SWW classification code, net price, net value, VAT rate, VAT amount, gross value, and currency. Uses named capture groups and a negative lookahead to skip header rows containing column titles. Designed for structured invoice data with European number formatting.