<?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: Regular Expressions Board in BreakPoint</title>
    <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1795926#M17246</link>
    <description>&lt;P&gt;A forum member posted a request to extract the data value pairs from an input string which looked like the following: { "Address" : "0xC800A8C0", "Channel" : 0, "Descrip" : "DDNS", "Event" : "Update", "SerialID" : "000b3d016ce3", "StartTime" : "2011-12-01 20:04:51", "Status" : "Start", "Type" : "Log" }.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here was the solution I suggested using regular expressions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/60022iECF0F19F523082FC/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="DB Parser.png" title="DB Parser.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: The regular expression could be modified so the quotes were not escaped. I added the '\' (to escape the quote) initially as a "just in case" measure.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2011 00:41:07 GMT</pubDate>
    <dc:creator>Mark_Yedinak</dc:creator>
    <dc:date>2011-12-02T00:41:07Z</dc:date>
    <item>
      <title>Regular Expressions Board</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1187799#M13459</link>
      <description>&lt;P&gt;We have an excel board. Should we have a repository for regular expressions too. This might be just and useful as the Excel board.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 12:15:23 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1187799#M13459</guid>
      <dc:creator>aeastet</dc:creator>
      <dc:date>2010-07-20T12:15:23Z</dc:date>
    </item>
    <item>
      <title>A Regular Expressions to check for prime numbers</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1188883#M13470</link>
      <description>&lt;P&gt;I'll begin with this one that's more of a curiosity than a useful snippet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/19455iD57361499268F06A/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="19455iD57361499268F06A" title="IsPrime.png" align="center" /&gt;&lt;BR /&gt;&lt;BR /&gt;I saw it &lt;A href="http://www.noulakaz.net/weblog/2007/03/18/a-regular-expression-to-check-for-prime-numbers/" target="_self" rel="nofollow"&gt;here&lt;/A&gt; (with an explanation) and had to test it in LabVIEW. &amp;nbsp;Someone is very clever.&lt;BR /&gt;&lt;BR /&gt;What you can get out of this is an exercise in familiarity with the elements of Regular Expressions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The pipe causes the regex to match either the expression on the left OR the one on the right&lt;/LI&gt;
&lt;LI&gt;the carrot looks for a match at the beginning of the input string&lt;/LI&gt;
&lt;LI&gt;the dollar sign looks for a match at the end of the input string&lt;/LI&gt;
&lt;LI&gt;the question mark makes the preceding item optional (zero or one of whatever is before it)&lt;/LI&gt;
&lt;LI&gt;beginning a regex with a carrot and ending it with a dollar sign only returns an exact match (in this case, either zero or one "1"s)&lt;/LI&gt;
&lt;LI&gt;and then, the right side of the pipe...&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 20 Jul 2010 23:33:20 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1188883#M13470</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2010-07-20T23:33:20Z</dc:date>
    </item>
    <item>
      <title>Regular Expressions humor</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1189347#M13481</link>
      <description>&lt;P&gt;Why doesn't Johnny use Regular Expressions?&lt;/P&gt;
&lt;P&gt;&lt;LI-SPOILER&gt;&lt;/LI-SPOILER&gt;&lt;/P&gt;&lt;P&gt;His mother doesn't let him play with matches. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2010 10:35:26 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1189347#M13481</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2010-07-21T10:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: A Regular Expressions to check for prime numbers</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1189753#M13483</link>
      <description>&lt;P&gt;Took me a while to find the carrott.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-SPOILER&gt;&lt;/LI-SPOILER&gt;&lt;/P&gt;&lt;P&gt;I think you mean "caret" (pronounced same as carrott).....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shane&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2010 15:13:39 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1189753#M13483</guid>
      <dc:creator>Intaris</dc:creator>
      <dc:date>2010-07-21T15:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: A Regular Expressions to check for prime numbers</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1189935#M13486</link>
      <description>&lt;P&gt;EDIT: retracted.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2010 16:53:26 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1189935#M13486</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2010-07-21T16:53:26Z</dc:date>
    </item>
    <item>
      <title>not to be confused ...</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1190067#M13487</link>
      <description>&lt;P&gt;Not to be confused with &lt;A rel="nofollow" href="http://forums.ni.com/t5/BreakPoint/Rube-Goldberg-Code/m-p/1188543#M13467" target="_self"&gt;irregular expressions&lt;/A&gt;. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2010 18:08:26 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1190067#M13487</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2010-07-21T18:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: not to be confused ...</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1190097#M13488</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/7614"&gt;@altenbach&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Not to be confused with &lt;A rel="nofollow" href="http://forums.ni.com/t5/BreakPoint/Rube-Goldberg-Code/m-p/1188543#M13467" target="_self"&gt;irregular expressions&lt;/A&gt;. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You have to be an &lt;A href="http://forums.ni.com/t5/BreakPoint/Rube-Goldberg-Code/td-p/399999/page/74" target="_self" rel="nofollow"&gt;irregular guy &lt;/A&gt;to be able to understand irregular expressions.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2010 18:24:43 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1190097#M13488</guid>
      <dc:creator>tbob</dc:creator>
      <dc:date>2010-07-21T18:24:43Z</dc:date>
    </item>
    <item>
      <title>an example of how Match Regular Expression beats Match Pattern</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1192713#M13521</link>
      <description>&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/19241iF4BA6DB8BE29CDD9/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="19241iF4BA6DB8BE29CDD9" title="Example_VI.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example demonstrates the oft-used expression: ".*" (dot star). &amp;nbsp;You remember (right?) that a dot matches "any single character except line break characters \r and \n" and that the star "[r]epeats the previous item zero or more times." &amp;nbsp;The parentheses save whatever is matched by the expression between them (you can use this later in your expression as a "backreference"). &amp;nbsp;In this example I'm looking for the word "and", but I don't want to have to strip off the "start", "stop" or the whitespace later. &amp;nbsp;I only use the Whole Match output to illustrate the function; the string I'm interested in is returned in the first submatch. (Note: MRE is an expandable node. &amp;nbsp;You need to drag the bottom handle down to access the submatch terminals.)&lt;BR /&gt;&lt;BR /&gt;This method should replace the following snippet:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/19245i6699BF2C7896A1A6/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="19245i6699BF2C7896A1A6" title="haveyouseenthis.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please don't ever do this again. &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2010 10:09:47 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1192713#M13521</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2010-07-23T10:09:47Z</dc:date>
    </item>
    <item>
      <title>one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1193689#M13534</link>
      <description>&lt;P&gt;Submatches are useful in extracting a part of your match but they also can also be reused in the regexp. &amp;nbsp;An example is to match beginning and ending tags when you don't know what tag you're looking for.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/19243iC7BBA3E0B2773182/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="19243iC7BBA3E0B2773182" title="submatch.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The brackets are not special characters so they'll result in a literal match. &amp;nbsp;The expression "(\w*)" creates a submatch that will contain zero or more word characters. The second element should look familiar to you but the last element is special. &amp;nbsp;The "&amp;lt;/" marks the beginning of a closing tag, but you can't just look for the first instance of this because there may be nested tags. &amp;nbsp;Use the backslash to insert the first submatch (called a backreference) indicated by the number one. &amp;nbsp;The desired text is in submatch 2, the second set of parentheses. &amp;nbsp;You can test this by replacing "sarcasm" by another string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;!--" marks the beginning of a closing tag, but you can't just look for the first instance because there may be nested tags.  Use the backslash to repeat the first submatch/backreference (indicated by the number one).  The desired text is in submatch 2, the second set of parentheses.--&gt;</description>
      <pubDate>Fri, 23 Jul 2010 22:18:56 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1193689#M13534</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2010-07-23T22:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Regular Expressions Board</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1194357#M13536</link>
      <description>&lt;P&gt;It might be an idea to add a 'RegEx' group on the communities?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this group we could host a page with a table showing 'input text', 'Regex', 'match' and a description of the actual working of the regex.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That way it's better to manage and search than a thread with numerous responses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ton&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2010 07:21:16 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1194357#M13536</guid>
      <dc:creator>TCPlomp</dc:creator>
      <dc:date>2010-07-26T07:21:16Z</dc:date>
    </item>
    <item>
      <title>a Regular Expression to match a number</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1200423#M13606</link>
      <description>&lt;P&gt;I was poking around for RegEx examples in the Community and found &lt;A href="http://decibel.ni.com/content/docs/DOC-10031#comment-12138" target="_self" rel="nofollow"&gt;this one&lt;/A&gt; titled "Determining Whether a String Contains Only Numbers". &amp;nbsp;I posted two alternate solutions and thought I'd post one of them here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/20319iD2724CF2F6941A05/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="20319iD2724CF2F6941A05" title="find floats too.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Read the expression like this: Look from the start of the string (^) for one or more digits ([\d]+) followed, optionally, by a decimal point (\.?) and zero or more digits ([\d]*) up to the end of the string ($) OR (|) look from the start of the string (^) for a decimal point followed by one or more digits ([\d]*) up to the end of the string ($).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will find a number formatted like .#, #.#, #. or #&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can modify this to look for a number anywhere in your input string by removing the carets and dollar signs. &amp;nbsp;You'll have to replace each instance of "\." if you use the wrong symbol to indicate the decimal point (ie: a comma). &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2010 10:18:53 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1200423#M13606</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2010-07-30T10:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1216791#M13715</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/78620"&gt;@jcarmody&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Submatches are useful in extracting a part of your match but they also can also be reused in the regexp. &amp;nbsp;An example is to match beginning and ending tags when you don't know what tag you're looking for.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/19243iC7BBA3E0B2773182/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="19243iC7BBA3E0B2773182" title="submatch.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The brackets are not special characters so they'll result in a literal match. &amp;nbsp;The expression "(\w*)" creates a submatch that will contain zero or more word characters. The second element should look familiar to you but the last element is special. &amp;nbsp;The "&amp;lt;/" marks the beginning of a closing tag, but you can't just look for the first instance of this because there may be nested tags. &amp;nbsp;Use the backslash to insert the first submatch (called a backreference) indicated by the number one. &amp;nbsp;The desired text is in submatch 2, the second set of parentheses. &amp;nbsp;You can test this by replacing "sarcasm" by another string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;!--" marks the beginning of a closing tag, but you can't just look for the first instance because there may be nested tags.  Use the backslash to repeat the first submatch/backreference (indicated by the number one).  The desired text is in submatch 2, the second set of parentheses.--&gt; 
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a nice example that I can build from to write code that accesses webpages and extracts information from it.&lt;/P&gt;
&lt;P&gt;I think I will exploit the power of RegExp's in the code.&amp;nbsp; I may need some help along the way.&amp;nbsp; At least I know where to post &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2010 14:24:31 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1216791#M13715</guid>
      <dc:creator>Ray.R</dc:creator>
      <dc:date>2010-08-16T14:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1216997#M13721</link>
      <description>&lt;P&gt;I did some more work on my answer to &lt;A rel="nofollow" href="http://forums.ni.com/t5/LabVIEW/regular-expresion-to-match-html-tags/m-p/1178331#M511572" target="_self"&gt;this post&lt;/A&gt;&amp;nbsp;where the OP asked about "regular expression to match html tags".&amp;nbsp; It may help with what you've proposed.&amp;nbsp; I'm having some trouble with it but I'm hoping we can work them out as&amp;nbsp;we go forward.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/21503i4939065D1FF26627/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="21503i4939065D1FF26627" title="nested tags_BD.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2010 16:14:38 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1216997#M13721</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2010-08-16T16:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1224534#M13849</link>
      <description>&lt;P&gt;I had to modify the expression for tags so I could work with multi-line strings. Like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;Action&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameters&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parameter&amp;gt;Something&amp;lt;/parameter&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/parameters&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/Action&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what I came up with to strip the tags off one level and skip the new line and tab characters. There is probably a more efficient way to do it, but this is working for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/22190iAE2EBA8FA7F9BFE4/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="22190iAE2EBA8FA7F9BFE4" title="RegEx Multi-Line Screenshot.jpg" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I left the input in / codes to show the tab and newline characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rob&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2010 19:45:18 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1224534#M13849</guid>
      <dc:creator>RobCole</dc:creator>
      <dc:date>2010-08-23T19:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246198#M14085</link>
      <description>&lt;P&gt;I'm still trying to wrap my head around even a simple regular expression in LabVIEW.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, let's say I want to delete any instance of &amp;lt;div ****whatever is in here ****&amp;gt;&lt;/P&gt;
&lt;P&gt;an example would be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;div class="usenext"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or even &amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;basically irradicating anything that contains "div" within &amp;lt; &amp;gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is that written in regEx ease?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;Thanks&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;&amp;lt;div R&amp;gt;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;&amp;lt;/div&amp;gt;&lt;/STRIKE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 16:53:40 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246198#M14085</guid>
      <dc:creator>Ray.R</dc:creator>
      <dc:date>2010-09-13T16:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246278#M14087</link>
      <description>&lt;P&gt;I'm not sure I understand what you're after, but here's my interpretation.&amp;nbsp; You'll have to put this inside a loop to handle multiple search and replace operations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/23750iC611934A0CCF7E06/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="23750iC611934A0CCF7E06" title="Example_VI.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The key here is to use a Character Class to search for the closing "&amp;gt;".&amp;nbsp; Read the Search String as: "Find a '&amp;lt;' followed by any number of anything except a '&amp;gt;', followed by the '&amp;gt;', OR look for exactly '&amp;lt;/div&amp;gt;'."&amp;nbsp; The Search and Replace String function will do the rest (you'll need to right-click the node and select Regular Expression).&lt;BR /&gt;&lt;BR /&gt;Everything inside the square brackets constitutes a Character Class.&amp;nbsp; Beginning one with a caret immediately after the opening bracket tells the Regexp engine to negate the characters in this&amp;nbsp;class.&amp;nbsp; The pipe | is the OR operator; it matches either the preceeding or following expression.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 17:53:56 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246278#M14087</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2010-09-13T17:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246364#M14089</link>
      <description>&lt;P&gt;Thanks Jim,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can get one or the other to work in seperately:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;div[^&amp;gt;]*&amp;gt;&amp;nbsp; works&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;lt;/div&amp;gt;&amp;nbsp; works (obviously),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;div[^&amp;gt;]*&amp;gt;|&amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(&amp;lt;div[^&amp;gt;]*&amp;gt;)|(&amp;lt;/div&amp;gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;didn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it misinterpreting the pipe as a character?&lt;/P&gt;
&lt;P&gt;have a look at the output sting you posted..&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 18:23:57 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246364#M14089</guid>
      <dc:creator>Ray.R</dc:creator>
      <dc:date>2010-09-13T18:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246390#M14090</link>
      <description>&lt;P&gt;Could you post some of&amp;nbsp;the text you're working with?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 18:40:49 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246390#M14090</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2010-09-13T18:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246500#M14091</link>
      <description>&lt;P&gt;Here's a section of the html code.&amp;nbsp; It simply represents the &amp;lt;div&amp;gt; stuff that I want to remove.&lt;/P&gt;
&lt;P&gt;As a matter of fact, I need to parse and extract some information from within the html code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I said... just a small portion and sample information to show the &amp;lt;div fields&amp;gt;.&amp;nbsp;&amp;nbsp; I do have something that works, but it is in 2 steps.&amp;nbsp; I tried to get it working in a single step as the code you provided.&lt;/P&gt;
&lt;P&gt;Obviously the code below is not intended to work, simply an example.. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;============================================&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="post_message"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="usenext"&amp;gt;&lt;BR /&gt;&amp;lt;div class="title"&amp;gt;&lt;BR /&gt;&amp;lt;a rel="nofollow" href="&lt;A href="http://website.com" target="_blank" rel="nofollow"&gt;http://website.com&lt;/A&gt;" target="_blank"&amp;gt;some website&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;Some miscellaneous message, text and things that are not important. &amp;lt;a href="&lt;A href="http://www.somewebsite.com" target="_blank" rel="nofollow"&gt;http://www.somewebsite.com&lt;/A&gt;" title="a website somewhere on the net"&amp;gt;&amp;lt;strong&amp;gt;Title of website&amp;lt;/strong&amp;gt;&amp;lt;/a&amp;gt;.&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;div style="width:200px"&amp;gt;&amp;lt;div align="center"&amp;gt;&amp;lt;br /&amp;gt;&lt;BR /&gt;&amp;lt;img style="max-width: 500px; cursor: pointer;" onclick="window.open(this.src)"&amp;nbsp; src="&lt;A href="http://anotherwebsite.com/image.png" target="_blank" rel="nofollow"&gt;http://anotherwebsite.com/image.png&lt;/A&gt;" border="0" alt="" /&amp;gt;&amp;lt;br /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;BR /&gt;&amp;lt;br /&amp;gt;&lt;BR /&gt;&amp;lt;br /&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 19:57:56 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246500#M14091</guid>
      <dc:creator>Ray.R</dc:creator>
      <dc:date>2010-09-13T19:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: one way to use a backreference</title>
      <link>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246520#M14092</link>
      <description>&lt;P&gt;As a matter of fact, you could do it for the source code from this thread's source code...&amp;nbsp; Unfortunately, if I try to post part of the source code from this thread, it quickly goes beyond the limited characters for the message..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are plenty of &amp;lt;div fields&amp;gt; to remove...&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The purpose of posting was to learn to improve my regEx knowledge..&amp;nbsp; I'm trying to figure out why the "OR"&amp;nbsp; '|' didn't work....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;R&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's try this portion of the source code from this thread...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;!-- End Global Navigation --&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="MinimumWidthContainer"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="min-width-wrapper"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="min-width"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-content"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-quilt-layout-one-column lia-quilt-forum-topic-page lia-quilt"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-quilt-row-header lia-quilt-row"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-quilt-column-common-header lia-quilt-column-single lia-quilt-column-24 lia-quilt-column"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-quilt-column-alley-single lia-quilt-column-alley"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-component-quilt-header lia-quilt-layout-header lia-quilt-header lia-quilt"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-quilt-row-title lia-quilt-row"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-quilt-column-page-title lia-quilt-column-left lia-quilt-column-10 lia-quilt-column"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-quilt-column-alley-left lia-quilt-column-alley"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;h2 class="lia-component-common-widget-page-title PageTitle"&amp;gt;&amp;lt;a class="lia-link-navigation" id="link_0" href="/t5/BreakPoint/bd-p/BreakPoint"&amp;gt;BreakPoint&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&amp;lt;div class="lia-quilt-column-site-navigation lia-quilt-column-right lia-quilt-column-14 lia-quilt-column"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-quilt-column-alley-right lia-quilt-column-alley"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-component-common-widget-site-navigation SiteNavigationDropDown"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-menu-navigation-wrapper" id="siteNavigationDropDown"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="lia-menu-navigation lia-js-click-menu"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="dropdown-default-item"&amp;gt;&amp;lt;a name="title" class="lia-link-navigation default-menu-option lia-js-menu-opener" rel="nofollow" id="dropDownLink" href="#"&amp;gt;Go To&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="dropdown-positioning"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div class="dropdown-positioning-static"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;ul id="dropdownmenuitems" class="lia-menu-dropdown-items"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the above example, all the &amp;lt;div class...&amp;gt; should dissappear..&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 20:04:08 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1246520#M14092</guid>
      <dc:creator>Ray.R</dc:creator>
      <dc:date>2010-09-13T20:04:08Z</dc:date>
    </item>
  </channel>
</rss>

