Scripts & Utilities
Extracts equipment tags, line numbers, and ISA-5.1 instrument tags from raw P&ID text using regex pattern matching. Classifies instruments by first-letter variable and function letters per ISA-5.1.
Server-side limitation: the full Python tool runs Tesseract OCR on PDF / image P&IDs to produce raw text, which is not possible in-browser without a server component. This page ports the regex extraction and ISA classification logic — paste OCR output, a plain-text P&ID annotation export, or any free-text blob containing tags, and the tool will extract and categorize them. For OCR-from-image workflows, use the Python script under 05_Scripts/pid_tag_extractor/.
Patterns: Equipment ([A-Z]{1,3})-(\d{2,5})([A-Z](?:/[A-Z])?)?; Lines (\d{1,2})"-([A-Z]{1,4})-(\d{2,5})(?:-(\d{2,5}))?; Instruments ([A-Z]{2,5})-(\d{2,5})([A-Z])?. Instruments are classified by ISA-5.1 first letter (variable) and subsequent letters (function / modifier). Equipment prefix must match a known list (P, C, K, V, D, E, F, H, R, T, TK, A, B, G, M, X, EJ, FI, MX, AG) to reduce false positives.
© 2026 Inflection Point Engineering, LLC. All rights reserved. The content of this page — including calculation methods, reference data, written analysis, interactive tools, and source code — is the intellectual property of Inflection Point Engineering, LLC and is protected under applicable copyright, trademark, and trade secret laws. Unauthorized reproduction, redistribution, modification, or derivative use in whole or in part is prohibited without prior written consent.
Disclaimer. This material is provided for informational and educational purposes only and does not constitute professional engineering advice. Calculations, reference data, and methodologies are based on published standards and accepted engineering practice but are not a substitute for engineering judgment, site-specific analysis, or review by a licensed Professional Engineer. Inflection Point Engineering, LLC makes no warranties, express or implied, regarding the accuracy, completeness, or fitness for a particular purpose of any content presented here, and shall not be liable for any direct, indirect, incidental, or consequential damages arising from its use. Users assume all risk associated with applying this content to real-world design, operations, or decisions.
© 2026 Inflection Point Engineering, LLC. All rights reserved.