Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regex question
#2
Macro Macro524
Code:
Copy      Help
str s=
;...
;once
;...
;...
;twice
;...

str repl="quote"

if(0>s.replacerx("(?ms)^once[].+?^twice$" F"once[]{repl}[]twice" 4)) out "not found"; ret
out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)