# Help with split node and html page info

**URL:** <https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837>\
**Category:** General\
**Created:** [18 January 2023 02:41 UTC](https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837 "2023-01-18T02:41:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [18 January 2023 02:41 UTC](https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837/1 "2023-01-18T02:41:29Z")

</div>

I have a web page from a device that returns a page like thus  
 ![image1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/e/0e68d18b7e2ac7dc54d9e237ae4853b859a3f162.jpeg)  
I'm trying to get the two lines of info where it says light 1 light off and XXXX count.  
Setup a split node with the /n and I get this

 ![image2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/e/5e6b98b74c53320de5764f8a7a929da094857573.jpeg)  
which sort of, kind of, almost gets me where I need to be.....  
except how do I sort out which msg contains the data I want?  
thanks

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [18 January 2023 06:29 UTC](https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837/2 "2023-01-18T06:29:12Z")

</div>

Instead of using the split node, use the html node and type `p` in the selector field.  
Do you get the same output ?

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [18 January 2023 13:54 UTC](https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837/3 "2023-01-18T13:54:23Z")

</div>

Didn't even know that node existed, have to look more carefully,  
Thanks that's fixed it

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 February 2023 13:54 UTC](https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837/4 "2023-02-01T13:54:50Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
