A-script. Remove all REMs from model formulas

4.43K viewsScripting
1

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
2

Screenshot of the A-script:
*

*

Good luck

braddo Changed status to publish October 29, 2020
2

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
1

It’s time to reveal the Regex pattern I used in this A-script:
*

*
Good luck

S A U Answered question July 10, 2021
0

Thank you, SAU, very useful.

S A U Posted new comment December 4, 2020