Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get a list of all AutoText files in the left pane
#94
I saw the following code in QM help, I think there should be a way to exchange the position of Sub* and Abbre, but I don't know how to use regular expressions.


 
Code:
Copy      Help
If need month, day and year:
ARRAY(str) a
i=findrx("file01-02-2000.txt" "(\d{2})-(\d{2})-(\d{4})" 0 0 a)
out a[0] ;;whole match
out a[1] ;;submatch 1 (month)
out a[2] ;;submatch 2 (day)
out a[3] ;;submatch 3 (year)


Messages In This Thread
RE: How to get a list of all AutoText files in the left pane - by win - 04-20-2019, 01:14 AM

Forum Jump:


Users browsing this thread: 28 Guest(s)