<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Require second string in json using a regular expression.]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I'm new to mango. I'm importing a pointLocator with a regular expression:</p>
<p dir="auto">"valueRegex":""id":"50009","type":"controlfunctionasset".<em>?"ReferenceInput":"(.</em>?)",".*?"cmddata""</p>
<p dir="auto">{"assets":{"controlfunctionasset":[{"id":"50009","type":"controlfunctionasset","label":"VOLTAGE_REGULATION_CF","model":"voltageregulation","extant":"true","Ts":"0.017","Enabled":"false","Hold":"false","Reset":"false","ResetValue":"0.000","Output":"0.000","UpperLimitHit":"false","LowerLimitHit":"false","OperationFault":"false","ExternalFault":"false","ReferenceInput":"0.000","DebugLevel":"0","Initialized":"true","Gain":"1.000","PreGainOutput":"0.000","CompareInput":"0.000","CompareInputGain":"1.000","LimHi":"false","LimLo":"false","Vtest1":"0.000","Deadband":"0.010","MaxCommand":"1.000","MinCommand":"-1.000","Kv":"1.000","Kgv":"1.000","Kpv":"0.000","Kiv":"1.000","Krv":"1.000","Kdroopv":"0.000","Slew":"9.000","SlewDef":"1.000","QtestActive":"false","QtestCmd":"0.000","Unwind":"false","UsePControlOnly":"false","KpvActive":"0.000","KdroopvActive":"0.000","VRef":"0.000","Qvr":"0.000","PiErr":"0.000","POutput":"0.000","IOutput":"0.000","DroopSignal":"0.000","RampInput":"0.000","RampOutput":"0.000","cmddata":{"Enabled":"false","Hold":"false","Reset":"false","ResetValue":"0.000","ExternalFault":"false","ReferenceInput":"480.000","CompareInput":"0.000","MaxCommand":"2000.000","MinCommand":"-2000.000","Deadband":"4.800","Kv":"100.000"}}]}}</p>
<p dir="auto">I would like the ReferenceInput after the cmddata? Not the first one. Dont know how the valueRegEx works? Is there a test site or tool I can use?</p>
<p dir="auto">Much Appreciated,<br />
Gary C</p>
]]></description><link>https://forum.mango-os.com/topic/1680/require-second-string-in-json-using-a-regular-expression</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 06:17:37 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/1680.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Aug 2014 00:16:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Require second string in json using a regular expression. on Sat, 11 Oct 2014 10:41:47 GMT]]></title><description><![CDATA[<p dir="auto">When delete a datapoint, the meta datapoint used this datapoint will be affect, Can do some caution when delete one datapoint which be used in another meta point.  :mrgreen:  :oops:</p>
<hr />
<p dir="auto">We are the pioneers in providing [url=<a href="http://www.testking.co.uk/exam/312-50v8.html" rel="nofollow ugc">http://www.testking.co.uk/exam/312-50v8.html</a>]<a href="http://testking.co.uk" rel="nofollow ugc">testking.co.uk</a> dumps and [url=<a href="http://www.ism.ws/" rel="nofollow ugc">http://www.ism.ws/</a>]ISM tutorials with 100% exam pass [url=<a href="http://www.colorado.edu/" rel="nofollow ugc">http://www.colorado.edu/</a>]University of Colorado at Boulder Download our latest testking ccie &amp; [url=<a href="http://en.wikipedia.org/wiki/Aruba" rel="nofollow ugc">http://en.wikipedia.org/wiki/Aruba</a>]wikipedia questions to pass real exam of mcitp training[url=<a href="http://www.fcc.edu/" rel="nofollow ugc">http://www.fcc.edu/</a>]Johnson University Florida</p>
]]></description><link>https://forum.mango-os.com/post/9375</link><guid isPermaLink="true">https://forum.mango-os.com/post/9375</guid><dc:creator><![CDATA[Lauren23]]></dc:creator><pubDate>Sat, 11 Oct 2014 10:41:47 GMT</pubDate></item><item><title><![CDATA[Reply to Require second string in json using a regular expression. on Wed, 03 Sep 2014 09:08:11 GMT]]></title><description><![CDATA[<p dir="auto">If I'm understanding the problem correctly, the ordering of the JSON is guaranteed and you want the second ReferenceInput value, i.e.</p>
<p dir="auto">"valueRegex":""id":"50009","type":"controlfunctionasset".<em>?ReferenceInput.</em>?"ReferenceInput":"(.<em>?)",".</em>?"cmddata""</p>
<p dir="auto"><a href="http://regexpal.com" rel="nofollow ugc">regexpal.com</a> has been useful to me.</p>
]]></description><link>https://forum.mango-os.com/post/9201</link><guid isPermaLink="true">https://forum.mango-os.com/post/9201</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Wed, 03 Sep 2014 09:08:11 GMT</pubDate></item><item><title><![CDATA[Reply to Require second string in json using a regular expression. on Tue, 26 Aug 2014 00:51:26 GMT]]></title><description><![CDATA[<p dir="auto">I’m using mango to do this so. It will use a HTTP request to get the data which is returned in json.</p>
]]></description><link>https://forum.mango-os.com/post/9160</link><guid isPermaLink="true">https://forum.mango-os.com/post/9160</guid><dc:creator><![CDATA[burslem2001]]></dc:creator><pubDate>Tue, 26 Aug 2014 00:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to Require second string in json using a regular expression. on Tue, 26 Aug 2014 00:25:02 GMT]]></title><description><![CDATA[<pre><code>"xid":"DP_50009_1",
	"loggingType":"ON_CHANGE",
	"intervalLoggingPeriodType":"MINUTES",
	"intervalLoggingType":"INSTANT",
	"purgeType":"YEARS",
	"pointLocator":{
		"dataType":"NUMERIC",
		"ignoreIfMissing":false,
		"timeFormat":"",
		"timeRegex":"",
		"valueFormat":"",
		"valueRegex":"\"id\":\"50009\",\"type\":\"controlfunctionasset\".*?\"ReferenceInput\":\"(.*?)\",\".*?\"cmddata\""
</code></pre>
<p dir="auto">The above is the datapoint I'm importing.</p>
]]></description><link>https://forum.mango-os.com/post/9159</link><guid isPermaLink="true">https://forum.mango-os.com/post/9159</guid><dc:creator><![CDATA[burslem2001]]></dc:creator><pubDate>Tue, 26 Aug 2014 00:25:02 GMT</pubDate></item></channel></rss>