The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RegEx Dialog
#1
i've created a dialog that does regex search and replace but i'm having problems having it insert things like newline character(s), tabs, etc. how can i do this?

thanks.


Code:
Copy      Help
ClearOutput
_s.getclip
_s.replacerx("\r\n\r\n" "\r\n");;doesn't work
_s.replacerx("\r\n\r\n" "[10]");;doesn't work
_s.replacerx("(\r\n)(\r\n)(\1)" "");;doesn't work

out _s
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)