Hi guys,
My intention is to find all possible words starting with any letter of my choice example 'p' from a paragraph.I want all the possible results . How can i do that .
Take the example :
'This rule says that any match that begins earlier in the string is always preferred over any plausible match that begins later. This rule doesn\'t say anything about how long the winning match might be (we\'ll get into that shortly), merely that among all the matches possible anywhere in the string, the one that begins the leftmost in the string is chosen. Actually, since more than one plausible match can start at the same earliest point, perhaps the rule should read "a match...\'\' instead of "the match...,\'\' but that sounds odd'
The results should be
preferred
plausible
..
..
..
Also i want to know how can i get multiple search results if we already know that there will be multiple matches .
Thanks