<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I identify numbers in a paragraph and extract as column in new tabel? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807207#M98614</link>
    <description>&lt;P&gt;Haha, that's nothing to worry about! Always good to have friendly input :)&lt;/img&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 12:20:08 GMT</pubDate>
    <dc:creator>Ressel</dc:creator>
    <dc:date>2024-10-21T12:20:08Z</dc:date>
    <item>
      <title>How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/805458#M98372</link>
      <description>&lt;P&gt;I have a text paragraph containing several numbers in different sentences and I would like to extract those numbers and get them stacked in a column in a new tabel.&lt;/P&gt;&lt;P&gt;The sentence looks like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The bags are weighed on a mobile scale at storage location. Each 5. bag is spear sampled. The primary sample of A: 10 kg, B: 20 kg, C: 30 kg, D:&lt;/img&gt; 40 kg and E: 50 kg was dried for 24 hours at 105 C. The sample was subject to repeated splitting, leaving some 800-1000 grams which was further milled to pass a 100-mesh test sieve. The crushed sample is blended in a V-blender for 20 minutes and transferred to 100 ml waterproof plastic bottle and sealed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition the number of different primary samples can vary from 1 up to 20 or 30.&lt;/P&gt;&lt;P&gt;Very thankful if somebody could point me in the right direction with a script. Tried to write it with the help of Copilot, but did not get the result I wanted.&lt;/P&gt;&lt;P&gt;Thanks a heap!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 20:56:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/805458#M98372</guid>
      <dc:creator>CalibrationBear</dc:creator>
      <dc:date>2024-10-14T20:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/805468#M98373</link>
      <description>&lt;P&gt;Here is one way to do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
paragraph="The bags are weighed on a mobile scale at storage location. Each 5. bag is spear sampled. 
The primary sample of A: 10 kg, B: 20 kg, C: 30 kg, 40 kg and E: 50 kg was dried for 24 hours at 105 C. 
The sample was subject to repeated splitting, leaving some 800-1000 grams which was further milled to 
pass a 100-mesh test sieve. The crushed sample is blended in a V-blender for 20 minutes and transferred 
to 100 ml waterproof plastic bottle and sealed.";

theNumbers = {};
i = 1;
While( Word( i, paragraph, " ." ) != "",
	theWord = Word( i, paragraph, " ." );
	If( Is Missing( Num( theWord ) ) == 0,
		Insert Into( theNumbers, Num( theWord ) )
	);
	i++;
);&lt;BR /&gt;Show(&amp;nbsp;theNumbers&amp;nbsp;);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am sure there is someone who will also provide a RegEx() solution.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 05:21:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/805468#M98373</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-10-15T05:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/805519#M98379</link>
      <description>&lt;P&gt;You can use Words for this but you have to have a list of non-numeric characters. You can then use Concat Items() to turn the list you get back into a string&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

str = "The bags are weighed on a mobile scale at storage location. Each 5. bag is spear sampled. The primary sample of A: 10 kg, B: 20 kg, C: 30 kg, 40 kg and E: 50 kg was dried for 24 hours at 105 C. The sample was subject to repeated splitting, leaving some 800-1000 grams which was further milled to pass a 100-mesh test sieve. The crushed sample is blended in a V-blender for 20 minutes and transferred to 100 ml waterproof plastic bottle and sealed.";

matchchar = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" || Get Punctuation Characters() || Get Whitespace Characters();
nums = Words(str,  matchchar);
// {"5", "10", "20", "30", "40", "50", "24", "105", "800", "1000", "100", "20", "100"}

Concat Items(nums, ", "); // "5, 10, 20, 30, 40, 50, 24, 105, 800, 1000, 100, 20, 100"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If more complicated matching is required, Regex() or Pat Match() are options but in my opinion it isn't really worth it to learn Pat Match() with it's current documentation and examples found from documentation.&amp;nbsp;&lt;LI-MESSAGE title="Add flag to Regex Match() to find all non-overlapping occurances of pattern" uid="582080" url="https://community.jmp.com/t5/JMP-Wish-List/Add-flag-to-Regex-Match-to-find-all-non-overlapping-occurances/m-p/582080#U582080" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;would make tasks like this much easier to complete.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 04:44:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/805519#M98379</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-10-15T04:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807202#M98609</link>
      <description>&lt;P&gt;I tried expanding on your suggestion, but couldn't get it to work. Unfortunately, my findings are confusing me, so I hoped it was possible to get some more input, please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below snippet will find "10 kg". So far so good.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
text = "The bags are weighed on a mobile scale at storage location. Each 5. bag is spear sampled. &lt;BR /&gt;The primary sample of A: 10 kg, B: 20 kg, C: 30 kg, 40 kg and E: 50 kg was dried for 24 hours at 105 C. &lt;BR /&gt;The sample was subject to repeated splitting, leaving some 800-1000 grams which was further milled to &lt;BR /&gt;pass a 100-mesh test sieve. The crushed sample is blended in a V-blender for 20 minutes and transferred &lt;BR /&gt;to 100 ml waterproof plastic bottle and sealed.";&lt;BR /&gt;
// Use a regular expression to find all the numbers, including decimals
matches = Regex( text, "\d+([.,]\d+)?\s*kg" );

Show( matches );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Let's try scripting this into a loop to find all weights associated with "kg" in the string. I can find all individual words, and I can combine them into pairs. Within these pairs, I thought it should be smooth sailing to find the pairs like "10 kg", "20 kg", "30 kg" and so on, but the code is stubbornly refusing to find any matches and put them into the matches={} list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried moving the regexPattern inside the If function, and I've tried wrapping "combined" as well as the "regexPattern" variable in Eval().&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );&lt;BR /&gt;// the text
text = "The bags are weighed on a mobile scale at storage location. Each 5. bag is spear sampled. &lt;BR /&gt;The primary sample of A: 10 kg, B: 20 kg, C: 30 kg, 40 kg and E: 50 kg was dried for 24 hours at 105 C. &lt;BR /&gt;The sample was subject to repeated splitting, leaving some 800-1000 grams which was further milled to &lt;BR /&gt;pass a 100-mesh test sieve. The crushed sample is blended in a V-blender for 20 minutes and transferred &lt;BR /&gt;to 100 ml waterproof plastic bottle and sealed.";&lt;BR /&gt;
// break text into words and print each of them. works as expected
words = Words( text );
For( i = 1, i &amp;lt;= N Items( words ), i++,
	Print( words[i] )
);

// regex pattern variable
regexPattern = "\d+([.,]\d+)?\s*kg"; 

// empty list to store matches
matches = {};

// loop over all words in text to create and print pairs of words (we're looking for "10 kg", "20 kg" and so on). works fine
For( i = 1, i &amp;lt;= N Items( words ) - 1, i++,
	combined = words[i] || " " || words[i + 1];
	Print( "Checking: " || combined );
);
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// THIS PART DOESN'T WORK
// loop once more over all words from text to create pairs of words and look for the regexPattern
For( i = 1, i &amp;lt;= N Items( words ) - 1, i++, 
	combined = words[i] || " " || words[i + 1];

 	// check if the current combined string matches the pattern (e.g., "10 kg")
	If( Regex Match( combined, regexPattern ), 
        Insert Into( matches, combined );
        Print( "Match found: " || combined ); 
	, 
        // else
		Print( "No match for: " || combined ); 
	);
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What am I overlooking?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:56:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807202#M98609</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2024-10-21T12:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807204#M98611</link>
      <description>&lt;P&gt;I haven't gone over everything, but just from a cursory look at the script, "." is a wildcard, so you'd need to escape it.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:06:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807204#M98611</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-10-21T12:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807205#M98612</link>
      <description>&lt;P&gt;Thanks, but that's what I wanted to demonstrate with the first snippet: It does correctly identify the first match to "a number + kg" (i.e., "10 kg") in the example. If it works once, shouldn't it work for all pairs of tokens/words?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:18:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807205#M98612</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2024-10-21T12:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807206#M98613</link>
      <description>&lt;P&gt;Oh, yes, sorry.&amp;nbsp; I should wake up and have my coffee before posting here.&amp;nbsp; I ran into this type of thing before and put up an answer (while I was at my last job) &lt;A href="https://community.jmp.com/t5/Discussions/Regex-can-t-get-all-parts-of-the-string-that-match/m-p/730835" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:17:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807206#M98613</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-10-21T12:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807207#M98614</link>
      <description>&lt;P&gt;Haha, that's nothing to worry about! Always good to have friendly input :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:20:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807207#M98614</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2024-10-21T12:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807209#M98616</link>
      <description>&lt;P&gt;Good case for supporting hogi's wishlist item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/Regex-add-options-for-all-flags/idi-p/687607" target="_blank" rel="noopener"&gt;Regex add option for all flags&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:22:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807209#M98616</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-10-21T12:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807211#M98617</link>
      <description>&lt;P&gt;Thanks for all input so far - testing it now&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:28:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807211#M98617</guid>
      <dc:creator>CalibrationBear</dc:creator>
      <dc:date>2024-10-21T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807234#M98619</link>
      <description>&lt;P&gt;I don't know if what you are trying to do is to exercise RegEx, or if you are trying to actually find a solution of finding all references to kg values.&amp;nbsp; If the latter is the case, the below JSL is a very efficient solution&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );// the text
text = "The bags are weighed on a mobile scale at storage location. Each 5. bag is spear sampled. The primary sample of A: 10 kg, B: 20 kg, C: 30 kg, 40 kg and E: 50 kg was dried for 24 hours at 105 C. The sample was subject to repeated splitting, leaving some 800-1000 grams which was further milled to pass a 100-mesh test sieve. The crushed sample is blended in a V-blender for 20 minutes and transferred to 100 ml waterproof plastic bottle and sealed.";
// break text into words and print each of them. works as expected
words = Words( text );

// regex pattern variable
regexPattern = "\d+([.,]\d+)?\s*kg"; 

// empty list to store matches
matches = {};

potential = loc(words,"kg");

If( length(potential) &amp;gt; 0,
	for each( {kg}, potential,
		if( isMissing(words[kg-1])==0,
			insert into(matches, words[kg -1] || " kg")
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Oct 2024 13:13:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807234#M98619</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-10-21T13:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807235#M98620</link>
      <description>&lt;P&gt;Actually, both. Thank you for your help and patience. I've never used "loc()", so that's good learning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Copy pasting your entire code block and appending "Print( matches)" gives&amp;nbsp;{"40 kg", "50 kg"}. This is consistent with "potential = Loc( words, "kg" );" only finding "[32, 36]". Interesting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Why is your solution not finding "10 kg", "20 kg" and "30 kg"?&lt;/LI&gt;&lt;LI&gt;Why is my solution not finding anything?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 21 Oct 2024 13:22:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807235#M98620</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2024-10-21T13:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807238#M98623</link>
      <description>&lt;P&gt;It's the commas.&amp;nbsp; "kg," throws it off.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 13:38:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807238#M98623</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-10-21T13:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807239#M98624</link>
      <description>&lt;P&gt;The Words() function is only using spaces as the delimiters, therefore, kg words with commas( kg, ) or periods( kg. ) are leaving those characters in the extracted word.&amp;nbsp; This can easily be changed by adding the comma and period as delimiters to check for along with the space&lt;/P&gt;
&lt;P&gt;Change&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;words = Words( text );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;words = Words( text," ,." );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Oct 2024 13:40:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807239#M98624</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-10-21T13:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807306#M98642</link>
      <description>&lt;P&gt;You can use one while loop for something like this (this will modify the original string so you might want to use copy of it)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

text = "The bags are weighed on a mobile scale at storage location. Each 5. bag is spear sampled. The primary sample of A: 10 kg, B: 20 kg, C: 30 kg, 40 kg and E: 50 kg was dried for 24 hours at 105 C. The sample was subject to repeated splitting, leaving some 800-1000 grams which was further milled to pass a 100-mesh test sieve. The crushed sample is blended in a V-blender for 20 minutes and transferred to 100 ml waterproof plastic bottle and sealed.";

res = {};
While(!Is Missing(match = Regex(text, "\d+.kg")),
	Insert Into(res, match);
	text = Substr(text, Contains(text, match) + Length(match));
);

show(res);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or Pat Match if you can figure out how it works (I have never really been able to do that properly)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

text = "The bags are weighed on a mobile scale at storage location. Each 5. bag is spear sampled. The primary sample of A: 10 kg, B: 20 kg, C: 30 kg, 40 kg and E: 50 kg was dried for 24 hours at 105 C. The sample was subject to repeated splitting, leaving some 800-1000 grams which was further milled to pass a 100-mesh test sieve. The crushed sample is blended in a V-blender for 20 minutes and transferred to 100 ml waterproof plastic bottle and sealed.";

found_list = {};
Pat Match(
	text,
	Pat Any("., ") + Pat Regex("(\d+.kg)") &amp;gt;&amp;gt; match + Pat Any("., ") + Pat Test(
		Insert Into(found_list, match);
		0;
	)
);

Show(found_list);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Oct 2024 17:18:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/807306#M98642</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-10-21T17:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I identify numbers in a paragraph and extract as column in new tabel?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/809115#M98873</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/51564"&gt;@CalibrationBear&lt;/a&gt;, have you found a solution and will you share it? Thanks :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 19:25:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-identify-numbers-in-a-paragraph-and-extract-as-column/m-p/809115#M98873</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2024-10-29T19:25:53Z</dc:date>
    </item>
  </channel>
</rss>

