The script allows you to try regular expressions.
Materials on regular expressions:
Before starting the work, please copy the all_functions.mq5 text file to the "sandbox": <data folder>\MQL5\Files\. The all_functions.mq5 text file contains all functions for processing events.
The input parameters contain the (int)(.*?)(\(\)) regular expression
In other words, we should find the following string:
(int) — search for the "int" word occurrence
(.*?) — any symbol except for a newline character or another separator of a Unicode string, found zero or more times, not greedy
(\(\)) — search for the "()" word occurrence
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/16574