View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.programming
Claus Busch Claus Busch is offline
external usenet poster
Posts: 3,872
Default Extract segments of an array


Am Sat, 6 Feb 2021 23:06:11 -0800 (PST) schrieb Tatsujin:

Hi Claus. Do you know how to modify that regex pattern so that it grabs the entire string after the first matched letter?

So, if mysort(1) = "Andy is in Room #29.", then myarray(0) should have "Andy is in Room #29."

RegExp is for searching words or substrings in a text but not for
searching sentences.

Claus B.
Microsoft 365 for business