Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Output findrx to textbox what is readable
#3
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....


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)