# Looking to extract string of numbers from messy column values

**URL:** <https://forum.knime.com/t/looking-to-extract-string-of-numbers-from-messy-column-values/91233>\
**Category:** KNIME Analytics Platform\
**Created:** [January 20, 2026, 12:05pm UTC](https://forum.knime.com/t/looking-to-extract-string-of-numbers-from-messy-column-values/91233 "2026-01-20T12:05:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [January 20, 2026, 3:06pm UTC](https://forum.knime.com/t/looking-to-extract-string-of-numbers-from-messy-column-values/91233/5 "2026-01-20T15:06:28Z")

</div>

> [@rsmth](#):
>
> B-103 or 123 456 789, that also make this challenging

It would make sense to mention such challenges in the initial round so the solution might try to take that into account. Another approach could be to employ a (local) LLM and tell it to extract the numbers (or more the IDs). Key will be to describe what you want and make sure the resulting data always has the same structure (JSON). Maybe send blocks of data there.

> [@Splitting fields with Multiple Values](https://forum.knime.com/t/splitting-fields-with-multiple-values/84090/3):
>
> @TSL4000 welcome to the KNIME Forum. I thought this would be a fun task for KNIME’s LLM nodes and Ollama/Llama3.2. The result after some tweaking of the input and the prompt can look like this: Some lines have not been fully covered … mainly where there are several names but no and or ampersand. One might have to amend the prompt to cover such cases but first: What is happening is that the original content gets converted in a JSOn structure in chunks of 10 and this JSON then gets fed…

---

_[View the full topic](https://forum.knime.com/t/looking-to-extract-string-of-numbers-from-messy-column-values/91233)._
