Code: Select all
text:="
(
01 George
02 John
03 Ringo
04 Paul
)"
pos:=RegExMatch(text, "02 (.*)`n", m)
msgbox % m1
Code: Select all
text:="
(
01 George
02 John
03 Ringo
04 Paul
)"
pos:=RegExMatch(text, "02 (.*)`n", m)
msgbox % m1
Code: Select all
text:="
(
01 George
02 John
03 Ringo
04 Paul
)"
pos:=RegExMatch(text, "02 (.*?)`n", m)
msgbox % m1
pos:=RegExMatch(text, "02 ([^`n]*)", m)
msgbox % m1
Code: Select all
text:="
(
01 George
02 John
03 Ringo
04 Paul
)"
pos:=RegExMatch(text, "`a)02 (.*)`n", m)
msgbox % m1
should be changed to(except newline: `r and `n)
or something to that effect(except newline CRLF: `r`n)
Users browsing this forum: Google [Bot], JoeWinograd, yabab33299 and 119 guests