GREP Multi-line Text to Query 1.2
GREP Multi-line Text to Query 1.2
Multi-line Text to GREP Query Converter
This InDesign script converts multiple text strings into GREP search queries. Input or select text lines, and the script automatically generates GREP expressions with support for case-insensitive matching, whole word boundaries, and special whitespace character handling. The live preview feature shows real-time GREP query updates as you type and adjust options.
The script provides output options including direct placement in InDesign's Find/Change window, creation of text frames containing the query, or export to desktop text files. Features include automatic escaping of GREP special characters, duplicate removal, alphabetical sorting, and handling of non-breaking spaces and Unicode whitespace variants through specific GREP codes or universal \h replacement.
Consider getting our GREP MEGAPACK instead!
Compatible 2025, 2024 and 2023 (maybe below)
Contact me for bugs/feature requests.
Scripts provided without warranty - backup data and use at your own risk.
Licensed under CC BY-NC-SA-4.0
Jean-Claude Tremblay – Services Proficiografik
Assisted with MATE for InDesign by Omata Labs