hi, im totaly unfamiliar with RegEx expressions, and wish that someone can help me with a (what i think) common task for this.
I wrote a *.cpp with functions, now i like to generate a header file that only contains the declarations of the functions.
Therefore i need a expression, that searches for "{...}" after ")" and replaces everything with a single ";" so that the implementation got erased.
i.e. void foo(){...} --> void foo();
thx in advance.
EDIT: i tried {.*} with ; but it only replaces no multiline functions. what am i doing wrong?
then i tried [{][.*\n][}] but nothing found.