Document kit

Travel Booking Confirmation Organizer

It takes pasted confirmation text and parses out key fields (confirmation number, date, time, address, contact) into a structured trip file.

The output is a single JSON or markdown file per trip with all bookings. The files open in your own spreadsheet, calendar and text programs.

Version 1.0.0 · Teranite Systems

$10.00 USD, one-time

Buying this pack gets you a licence to use it, not ownership of the files.

Read the full licence

Buy for $10.00

  • Download right after payment, and by email.
  • Opens in your own spreadsheet, calendar and text programs.
  • Refund within 14 days, for any reason.
  • Payment is handled by Stripe.

What it does

It takes pasted confirmation text and parses out key fields (confirmation number, date, time, address, contact) into a structured trip file. The output is a single JSON or markdown file per trip with all bookings. The files open in your own spreadsheet, calendar and text programs.

What's inside

  • Travel booking confirmation or: index.html, parse-rules.md, sample.txt, script.js, style.css.

With a README and the Teranite Facet Buyer Licence.

Sample

Travel Booking Confirmation Organizer

It takes pasted confirmation text and parses out key fields (confirmation number, date, time, address, contact) into a structured trip file. The output is a single JSON or markdown file per trip with all bookings.

Files: index.html, parse-rules.md, sample.txt, script.js, style.css. script.js, start of the file:

document.addEventListener('DOMContentLoaded', () => {
    const rawText = document.getElementById('rawText');
    const parseBtn = document.getElementById('parseBtn');
    const clearBtn = document.getElementById('clearBtn');
    const jsonOutput = document.getElementById('jsonOutput');
    const downloadBtn = document.getElementById('downloadBtn');

    let currentTripData = null;

    const patterns = {
        confirmation: /(?:Confirmation|Conf #|Booking Reference|Record Locator):?\s*([A-Z0-9]{6,12})/i,
        date: /(?:Date|Check-in|Departure):?\s*(\d{1,2}[\/-]\d{1,2}[\/-]\d{2,4}|[A-Z][a-z]+ \d{1,2},? \d{4})/i,
        time: /(?:Time|Departure Time|Arrival Time):?\s*(\d{1,2}:\d{2}\s*(?:AM|PM)?)/i,
        address: /(?:Address|Location|Hotel Address):?\s*([^\n\r]+)/i,
        contact: /(?:Phone|Contact|Tel):?\s*(\+?\d[\d\s-]{7,20})/i
    };

    const parseText = (text) => {
        const bookings = [];
        const segments = text.split(/--- отделение ---|BOOKING START|Booking Details:/i);

        segments.forEach(segment => {
            if (segment.trim().length < 10) return;

            const entry = {};
            for (const [key, regex] of Object.entries(patt

Requirements

  • A program that opens the file types listed.
  • Checked: every file opens and parses, and any spreadsheet formulas compute in Microsoft Excel for Windows.
  • Not opened in other programs.

Install

Unzip the download, then the zip inside it. Each folder inside holds one set of files; open or import them in your own programs and work on a copy.

Licence

One licence covers one person. Your finished work is yours. Do not share or resell the files.

How it is made

Facet Packs are made with Teranite's own software tools, some of them written with help from AI, and rendered or built by standard software. They contain no AI-generated images.

Support

Questions, or a fault: support@teranitesystems.com. We reply within 2 business days.

More from Spreadsheet templates

See all