A-script. Remove all REMs from model formulas
Problem
There are cases when you want to quickly delete all formulas’s comments of a model.
Below I show my solution in the form of an Action script. This A-script uses RegEx that matches both single-line and multi-line comments of model’s formulas. I have hidden the search pattern from you for now so that you yourself think about developing your own pattern, seeing my working solution.
S A U Answered question July 10, 2021
Solution demo
This two-matrix model is a simplified version of the real one. The script-button on the canvas serves as a simplifying tool for showing the results of the A-script. I cancel the A-script action using Ctrl+Z.
*
*
braddo Changed status to publish October 29, 2020
It’s time to reveal the Regex pattern I used in this A-script:
*
*
Good luck
S A U Answered question July 10, 2021
Fine!