<?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 extract only the text that is between  quotation marks in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-extract-only-the-text-that-is-between-quotation-marks/m-p/369159#M61899</link>
    <description>Thank you. This works great!!</description>
    <pubDate>Thu, 18 Mar 2021 17:11:04 GMT</pubDate>
    <dc:creator>fionaweston</dc:creator>
    <dc:date>2021-03-18T17:11:04Z</dc:date>
    <item>
      <title>How do I extract only the text that is between  quotation marks</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-extract-only-the-text-that-is-between-quotation-marks/m-p/369139#M61897</link>
      <description>&lt;P&gt;I have a column containing 1000's of Machine Error Codes which are typed in by an operator at the machine.&lt;/P&gt;&lt;P&gt;Most of the errors do not have quotation marks but for those that do I would like to be able to extract what is between the quotation marks.&lt;/P&gt;&lt;P&gt;For other special characters I can use the escape character but I'm having problems using this with the quotation marks.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Fiona&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 1: *******The unit is giving a “&lt;STRONG&gt;no scanner connection&lt;/STRONG&gt;” error. Unit is INOP.&lt;BR /&gt;Example 2: ********P1-“&lt;STRONG&gt;Waiting for system authentication&lt;/STRONG&gt;”, unable to run ******* Area C&lt;BR /&gt;Example 3: *********Now reads “&lt;STRONG&gt;X-ray error&lt;/STRONG&gt;"&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:08:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-extract-only-the-text-that-is-between-quotation-marks/m-p/369139#M61897</guid>
      <dc:creator>fionaweston</dc:creator>
      <dc:date>2023-06-09T22:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract only the text that is between  quotation marks</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-extract-only-the-text-that-is-between-quotation-marks/m-p/369154#M61898</link>
      <description>&lt;P&gt;There seems to be at least three different kinds of quotes in the example dataset (“ " ”).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example script here should handle at least all of those.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = New Table("Error Codes Quotations",
	Add Rows(3),
	Compress File When Saved(1),
	New Column("Error Code",
		Character,
		"Nominal",
		Set Values(
			{
			" ****  The unit is giving a “no scanner connection” error.  Unit is INOP.",
			"P1-“Waiting for system authentication”, unable to run  ******* Area C",
			"Now reads “X-ray error\!""}
		)
	)
);

dt &amp;lt;&amp;lt; New Column("BetweenQuotes_Regex", Character, Nominal, &amp;lt;&amp;lt; Formula(
	Regex(:Error Code, "[“|\!"|'](.*?)[”|\!"|']");
));
dt &amp;lt;&amp;lt; New Column("BetweenQuotes_Word", Character, Nominal, &amp;lt;&amp;lt; Formula(
	Word(2, :Error Code, "”“\!"")
));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Mar 2021 17:03:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-extract-only-the-text-that-is-between-quotation-marks/m-p/369154#M61898</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-03-18T17:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract only the text that is between  quotation marks</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-extract-only-the-text-that-is-between-quotation-marks/m-p/369159#M61899</link>
      <description>Thank you. This works great!!</description>
      <pubDate>Thu, 18 Mar 2021 17:11:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-extract-only-the-text-that-is-between-quotation-marks/m-p/369159#M61899</guid>
      <dc:creator>fionaweston</dc:creator>
      <dc:date>2021-03-18T17:11:04Z</dc:date>
    </item>
  </channel>
</rss>

