Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check selected text and delete...
#4
Macro
Code:
Copy      Help
str s=
;AT CUST-2 SE
;eg. CUST-2 SE
;eg. ATSE CUST-2

s.replacerx("\bCUST-\d+\b")

out s

\b word boundary
\d digit
+ 1 or more


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)