Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11   Report Post  
Old February 8th 21, 05:04 PM posted to microsoft.public.excel.programming
dpb dpb is offline
external usenet poster
 
First recorded activity by ExcelBanter: Jan 2018
Posts: 104
Default Extract segments of an array

On 2/8/2021 10:46 AM, Claus Busch wrote:
Hi,

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.


For limited definitions of what constitutes a sentence it can be done.
One stackoverflow submission of many.
<https://stackoverflow.com/questions/5553410/regular-expression-match-a-sentence

--


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extract data from an array jmccaski Excel Programming 8 February 1st 11 11:58 AM
Extract multiple values from array vpinnell Excel Discussion (Misc queries) 2 October 28th 09 02:39 AM
Extract a column/row from a 2-D array Fred Chow Excel Programming 1 October 13th 07 06:46 PM
How do I extract a single value from the linest array result? hil Excel Worksheet Functions 3 July 12th 06 12:37 PM
How do I extract hyperlink as text from an array of hyperlinks? Hoya Excel Worksheet Functions 8 December 29th 05 05:16 PM


All times are GMT +1. The time now is 08:40 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2004-2021 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017