Only the numbers

Hi! How are you all?
I’m having doubts about which Node I use for the lines to have only the numbers

It’s written: Single Room 208
What I need: 208

Please help me! Thanks!

I would use RegEx for this. It’s easiest to install the Palladian RegEx Extractor note, Regex Extractor — NodePit first.

In the node use a RegEx like (\d+), this will extract a group of one or more numbers from your string. If you only want to match numbers three digits long you could use (\d{3}) instead.


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