Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression Help
#5
Use option (?s) whitch tells . to match new line characters too. Also, if you want to get whole match (not an enclosed part), use 0, not 1.

Code:
Copy      Help
findrx(longreport "(?s)(?<=BeginShortReport).+(?=EndShortReport)" 0 8 shortreport 0)


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)