05-12-2007, 11:51 AM
Maybe i didn't give all necessary information...
The 'source text' comes from the clipboard and is pasted into s1 and i want to extract
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
when i use the example that you gave me it say's something about invalid index / wrong number of dimensions and this line cannot compile??
if findrx(s1 "\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}" 0 0 a)<0) ret
It gives a error:
Cannot make exe. Error 4, failed to compile.
Error in program: missing ( after function name, or ; after statement
ARRAY(str) a
is added to the macro....
The 'source text' comes from the clipboard and is pasted into s1 and i want to extract
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
when i use the example that you gave me it say's something about invalid index / wrong number of dimensions and this line cannot compile??
if findrx(s1 "\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}" 0 0 a)<0) ret
It gives a error:
Cannot make exe. Error 4, failed to compile.
Error in program: missing ( after function name, or ; after statement
ARRAY(str) a
is added to the macro....