Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 hours ago.
regular expression trying – recordSetTotal":(\d{1,}) it should fail, if the response having " 0" as recordsettotal value
response is {"recordSetTotal":81248,"resourceId":"http://www.search.ppprdeu.element14.com:3737/search/resources/store/10151/pfproductview/bySearchTerm/resistor?profileName=PF_findByKeyword","recordSetCount":50,"facetView":[{"extendedData":{"displaySequence":"0","seoName":"brand","srchattridentifier":"_cat.ManufacturerName","group_id":"0","allValuesReturned":true,"max_display":"-1","maximumValuesToDisplay":"-1","propertyvalue":"mfName_ntk_cs","zero_display":"0","storeent_id":"0","displayable":"1","srchattr_id":"80001","selection":"1","facet_id":"-1000","groupId":"0","sortorder":"2","fdesc":"Manufacturer name","propertyname":"facet","keyword_search":"1","fname":"Manufacturer","allowMultipleValueSelection":"true"},"name":"Manufacturer","entry":[{"extendedData":{"manufacturerId":"-","seoToken":"-","uniqueId":"8000165663269766975848279787375"},"count":"1","value":"mfName_ntk_cs%3A%22AB+ELEKTRONIK%22","label":"AB ELEKTRONIK"},{"extendedData":{"manufacturerId":"1189","seoToken":"b^abb","uniqueId":"80001656666"},"count":"1","value":"mfName_ntk_cs%3A%22ABB%22","label":"ABB"},{"extendedData":{"manufacturerId":"1326","seoToken":"b^abracon","uniqueId":"8000165668265677978"},"count":"1","value":"mfName_ntk_cs%3A%22ABRACON%22","label":"ABRACON"},{"extendedData":{"manufacturerId":"-","seoToken":"-","uniqueId":"800016576807265326976696784827978736783"},"count":"19","value":"mfName_ntk_cs%3A%22ALPHA+ELECTRONICS%22","label":"ALPHA ELECTRONICS"},{"extendedData":{"manufacturerId":"245","seoToken":"b^alps-alpine","uniqueId":"800016576808332657680737869"},"count":"2","value":"mfName_ntk_cs%3A%22ALPS+ALPINE%22","label":"ALPS ALPINE"},{"extendedData":{"manufacturerId":"1661","seoToken":"b^amp-te-connectivity","uniqueId":"80001657780324532846932677978786967847386738489"},"count":"2","value":"mfName_ntk_cs%3A%22AMP+-+TE+CONNECTIVITY%22","label":"AMP – TE CONNECTIVITY"},{"extendedData":{"manufacturerId":"-","seoToken":"-","uniqueId":"800016577807269787976328073726982328369788379828332657868326779788482797683"},"count":"4","value":"mfName_ntk_cs%3A%22AMPHENOL+PIHER+SENSORS+AND+CONTROLS%22","label":"AMPHENOL PIHER SENSORS AND CONTROLS"},{"extendedData"
Please login or Register to submit your answer