# \#regex

**URL:** https://forum.knime.com/tag/regex/56.md

[Latest](https://forum.knime.com/latest.md) · [Categories](https://forum.knime.com/categories.md) · [Tags](https://forum.knime.com/tags.md)

---

## [Replace a REGEX with a regex expression](https://forum.knime.com/t/replace-a-regex-with-a-regex-expression/91192)

<div class="topic-metadata">

**Author:** [@Laurent\_Knimer](https://forum.knime.com/u/Laurent_Knimer)\
**Replies:** 3\
**Last updated:** [January 15, 2026, 6:14am UTC](https://forum.knime.com/t/replace-a-regex-with-a-regex-expression/91192 "2026-01-15T06:14:41Z")

</div>

Hi, Aim of this post : find a node that allow to replace a text string searched with a regex expression and replace this found text using another regex expression containing regex and string combination. So far I am us…

---

## [Help me Extract "11 04 22" from a PDF](https://forum.knime.com/t/help-me-extract-11-04-22-from-a-pdf/87859)

<div class="topic-metadata">

**Author:** [@Kinetic\_Bullet](https://forum.knime.com/u/Kinetic_Bullet)\
**Replies:** 13\
**Last updated:** [May 14, 2025, 12:52pm UTC](https://forum.knime.com/t/help-me-extract-11-04-22-from-a-pdf/87859 "2025-05-14T12:52:05Z")

</div>

Hi all, My first post. I have PDF for construction specification. The PDF lists the spec numbers like this “11 04 22”. I’d like KNIME to read the PDF and extract similar strings. So far, this is what I have tried: T…

---

## [Issue with regex and end-of-string anchor in DB Looping node](https://forum.knime.com/t/issue-with-regex-and-end-of-string-anchor-in-db-looping-node/87709)

<div class="topic-metadata">

**Author:** [@gcincilla](https://forum.knime.com/u/gcincilla)\
**Replies:** 8\
**Last updated:** [April 24, 2025, 12:49pm UTC](https://forum.knime.com/t/issue-with-regex-and-end-of-string-anchor-in-db-looping-node/87709 "2025-04-24T12:49:03Z")

</div>

Hi KNIME Community, I am encountering an issue with a regex pattern involving an end-of-string anchor $ when using the DB Looping node. I think it may be a bug or at least an inconsistency. The context is as follows: I…

---

## [Scanning workflows on KNIME Hub](https://forum.knime.com/t/scanning-workflows-on-knime-hub/87479)

<div class="topic-metadata">

**Author:** [@aymens](https://forum.knime.com/u/aymens)\
**Replies:** 4\
**Last updated:** [April 15, 2025, 11:59am UTC](https://forum.knime.com/t/scanning-workflows-on-knime-hub/87479 "2025-04-15T11:59:03Z")

</div>

There should be an option to search a workflow for a particular value or insecure storage of secrets

---

## [Regex help for path](https://forum.knime.com/t/regex-help-for-path/87063)

<div class="topic-metadata">

**Author:** [@sergiogarciagt](https://forum.knime.com/u/sergiogarciagt)\
**Replies:** 4\
**Last updated:** [March 13, 2025, 3:45pm UTC](https://forum.knime.com/t/regex-help-for-path/87063 "2025-03-13T15:45:42Z")

</div>

Hi, I am trying to create a regex to give me the files in this link. the link names are slightly modified/dummies. “C:\\Users\\GARCIAS\\OneDrive - Nnnnn\\Documents\\Porque G\\Research\\YUTO\\OMSD Data conversion\\Knime\\YUTO\_2023…

---

## [How do I remove all single-character-length words?](https://forum.knime.com/t/how-do-i-remove-all-single-character-length-words/86365)

<div class="topic-metadata">

**Author:** [@Bart\_Humphries](https://forum.knime.com/u/Bart_Humphries)\
**Replies:** 3\
**Last updated:** [February 15, 2025, 2:59pm UTC](https://forum.knime.com/t/how-do-i-remove-all-single-character-length-words/86365 "2025-02-15T14:59:00Z")

</div>

I’ve tried using a String Manipulation Node, with the following: replaceChars($Text$, “\\b\\w{1,1}\\b”, “”) But instead of grabbing all words of length 1, it’s removing all w’s. https://regexr.com/ shows that regular expr…

---

## [Error with String Splitter (Regex) based on date and time](https://forum.knime.com/t/error-with-string-splitter-regex-based-on-date-and-time/85993)

<div class="topic-metadata">

**Author:** [@Ferko](https://forum.knime.com/u/Ferko)\
**Replies:** 5\
**Last updated:** [January 28, 2025, 7:54am UTC](https://forum.knime.com/t/error-with-string-splitter-regex-based-on-date-and-time/85993 "2025-01-28T07:54:38Z")

</div>

Hi, I’m trying to split a column that contains a log such as the one shown below. I want to split it in rows with each row containing the part of the log starting with the date/time (keeping the date/time). I’m using the…

---

## [Row filter regex matching seems not working correctly](https://forum.knime.com/t/row-filter-regex-matching-seems-not-working-correctly/84315)

<div class="topic-metadata">

**Author:** [@morelator](https://forum.knime.com/u/morelator)\
**Replies:** 5\
**Last updated:** [November 8, 2024, 11:44am UTC](https://forum.knime.com/t/row-filter-regex-matching-seems-not-working-correctly/84315 "2024-11-08T11:44:33Z")

</div>

Hi all it seems that using Row Filter node with regex rule \\W\*((?i)NO MAIL(?-i))\\W\* returns empty resultset Some hints? Thanks

---

## [regex extractor node](https://forum.knime.com/t/regex-extractor-node/81290)

<div class="topic-metadata">

**Author:** [@NabilEnn](https://forum.knime.com/u/NabilEnn)\
**Replies:** 71\
**Last updated:** [September 14, 2024, 8:21pm UTC](https://forum.knime.com/t/regex-extractor-node/81290 "2024-09-14T20:21:15Z")

</div>

Hello all, i was wondering if anyone has any input on how i would extract text under a keyword using regex extractor or any other nodes that are able to do so. for example if i have the keyword “Name:” and one line under…

---

## [Column Renamer (Dictionary) confusion: 'ID', 'Row ID', or 'RowIDs'?](https://forum.knime.com/t/column-renamer-dictionary-confusion-id-row-id-or-rowids/81302)

<div class="topic-metadata">

**Author:** [@J\_Knime\_Work](https://forum.knime.com/u/J_Knime_Work)\
**Replies:** 1\
**Last updated:** [July 24, 2024, 9:55am UTC](https://forum.knime.com/t/column-renamer-dictionary-confusion-id-row-id-or-rowids/81302 "2024-07-24T09:55:23Z")

</div>

I need to convert all my csv column names to uppercase. I was hoping the Column Rename (Regex) could do this with a simple U function but I couldn’t get it to work. So instead I found a relatively simple solution, after …

---

## [Regex split by pattern and capture text in between too](https://forum.knime.com/t/regex-split-by-pattern-and-capture-text-in-between-too/81177)

<div class="topic-metadata">

**Author:** [@Laurent\_Knimer](https://forum.knime.com/u/Laurent_Knimer)\
**Replies:** 2\
**Last updated:** [July 23, 2024, 6:55am UTC](https://forum.knime.com/t/regex-split-by-pattern-and-capture-text-in-between-too/81177 "2024-07-23T06:55:20Z")

</div>

Hi, I am trying to get full transactions data from bank account OCRed document. The information is split as follows (can be seen easily in first screenshot): 1st line contains the operation details (number, date, valu…

---

## [Create a string manipluation that replaces the 4th the last space with the expression xxx](https://forum.knime.com/t/create-a-string-manipluation-that-replaces-the-4th-the-last-space-with-the-expression-xxx/80480)

<div class="topic-metadata">

**Author:** [@miriamgurk](https://forum.knime.com/u/miriamgurk)\
**Replies:** 4\
**Last updated:** [June 18, 2024, 12:08pm UTC](https://forum.knime.com/t/create-a-string-manipluation-that-replaces-the-4th-the-last-space-with-the-expression-xxx/80480 "2024-06-18T12:08:38Z")

</div>

Hi Everyone. I tried to create a string manipulation for knime that replace the 4th last space of my string with the expression “xxx” however it didn’t work. Do you have a solution for this or an idea what I did wrong? …

---

## [Regex Split](https://forum.knime.com/t/regex-split/80308)

<div class="topic-metadata">

**Author:** [@sergiogarciagt](https://forum.knime.com/u/sergiogarciagt)\
**Replies:** 3\
**Last updated:** [June 12, 2024, 6:49am UTC](https://forum.knime.com/t/regex-split/80308 "2024-06-12T06:49:52Z")

</div>

Hi, what would be the regex split I should use to get the date from this path? I modified the path for illustration purposes. I would like to have 01-31-2023. Thank you! C:\\Users\\MESSI\\OneDrive - Inter\\Documents\\Messi …

---

## [Remove every string before certain words (String Manipulation) using RegexReplace](https://forum.knime.com/t/remove-every-string-before-certain-words-string-manipulation-using-regexreplace/80028)

<div class="topic-metadata">

**Author:** [@kennywp](https://forum.knime.com/u/kennywp)\
**Replies:** 10\
**Last updated:** [June 11, 2024, 7:14am UTC](https://forum.knime.com/t/remove-every-string-before-certain-words-string-manipulation-using-regexreplace/80028 "2024-06-11T07:14:39Z")

</div>

Hello I wanna ask how can we string manipulate these column into returning value as detailed below Value : C:\\Users\\ASUS\\OneDrive - Bina Nusantara\\Desktop\\Input Join SPK DO PSPK\\2. Data DO Closing\\1. Laporan Penjuala…

---

## [String manipulation with ReGex](https://forum.knime.com/t/string-manipulation-with-regex/79908)

<div class="topic-metadata">

**Author:** [@sergiogarciagt](https://forum.knime.com/u/sergiogarciagt)\
**Replies:** 2\
**Last updated:** [May 29, 2024, 12:44pm UTC](https://forum.knime.com/t/string-manipulation-with-regex/79908 "2024-05-29T12:44:57Z")

</div>

Hi, I have a column with variables A, C, G and S and would like to convert all but S into C, and I would like to use ReGex does anyone knows what would be the line? Thanks,

---

## [regexMatcher in Column Expressions to identify fields with non-alphanumeric chars](https://forum.knime.com/t/regexmatcher-in-column-expressions-to-identify-fields-with-non-alphanumeric-chars/77901)

<div class="topic-metadata">

**Author:** [@J\_Knime\_Work](https://forum.knime.com/u/J_Knime_Work)\
**Replies:** 4\
**Last updated:** [March 15, 2024, 2:23pm UTC](https://forum.knime.com/t/regexmatcher-in-column-expressions-to-identify-fields-with-non-alphanumeric-chars/77901 "2024-03-15T14:23:18Z")

</div>

I’m struggling with something that should be really simple. I want to use regexMatcher() in a Column Expressions node to evaluate true for records that contain chars other than alphanumeric, and evaluate false for fields…

---

## [Regex IDE node](https://forum.knime.com/t/regex-ide-node/77261)

<div class="topic-metadata">

**Author:** [@MikeK](https://forum.knime.com/u/MikeK)\
**Replies:** 1\
**Last updated:** [February 15, 2024, 9:23am UTC](https://forum.knime.com/t/regex-ide-node/77261 "2024-02-15T09:23:39Z")

</div>

How about a node for regex that has some IDE for figuring out the regex string similar to regex101? I always have to go there to help figure out the correct regex needed for my string manipulations. I think it would be…

---

## [REGEX match for numeric value OR null value](https://forum.knime.com/t/regex-match-for-numeric-value-or-null-value/76351)

<div class="topic-metadata">

**Author:** [@davidbaker](https://forum.knime.com/u/davidbaker)\
**Replies:** 2\
**Last updated:** [January 3, 2024, 6:27pm UTC](https://forum.knime.com/t/regex-match-for-numeric-value-or-null-value/76351 "2024-01-03T18:27:12Z")

</div>

Hi all, I’m very new to REGEX. I’m trying to filter out rows based on if a column (string) matches a numeric value or is null. Based on some googling, I’ve tried: ^\\d\*.?\\d\*$|^null$ ^\\d\*.?\\d\*$|^\\w$ In both cases, th…

---

## [Detecting string values with regular expression](https://forum.knime.com/t/detecting-string-values-with-regular-expression/76190)

<div class="topic-metadata">

**Author:** [@rolandnemeth](https://forum.knime.com/u/rolandnemeth)\
**Replies:** 2\
**Last updated:** [December 22, 2023, 11:26am UTC](https://forum.knime.com/t/detecting-string-values-with-regular-expression/76190 "2023-12-22T11:26:02Z")

</div>

Hello KNIMERs, How could I detect the following type of strings with regular expression inside a column? Totally 20 characters: -10 pcs zero leading characters, -11th character is always “2”, -last 9 characters are …

---

## [String Manipulation with regex wildcard search](https://forum.knime.com/t/string-manipulation-with-regex-wildcard-search/75188)

<div class="topic-metadata">

**Author:** [@morsoe](https://forum.knime.com/u/morsoe)\
**Replies:** 4\
**Last updated:** [November 14, 2023, 9:54am UTC](https://forum.knime.com/t/string-manipulation-with-regex-wildcard-search/75188 "2023-11-14T09:54:30Z")

</div>

Hi I’m having trouble getting the correct true/false result with a regex wildcard search. Column A has the following strings. And I want to get a true result if the string contains numbers and the number contain 9-11 d…

---

## [Regex challenge . . .](https://forum.knime.com/t/regex-challenge/72680)

<div class="topic-metadata">

**Author:** [@sanderlenselink](https://forum.knime.com/u/sanderlenselink)\
**Replies:** 4\
**Last updated:** [September 16, 2023, 6:13pm UTC](https://forum.knime.com/t/regex-challenge/72680 "2023-09-16T18:13:06Z")

</div>

Hi all, I’m not that strong with Regex and therefore I beg your help. I have a long string and want to split it. The lenght of te string varies day to day . . . Start string e.g. NOVC.DUNovo Nor - disk A/SSep 13, 202…

---

## [Problem in Regex Split](https://forum.knime.com/t/problem-in-regex-split/72055)

<div class="topic-metadata">

**Author:** [@Jyotendra](https://forum.knime.com/u/Jyotendra)\
**Replies:** 2\
**Last updated:** [August 28, 2023, 6:45am UTC](https://forum.knime.com/t/problem-in-regex-split/72055 "2023-08-28T06:45:07Z")

</div>

Hi, I have a column with a values having dates, time and string… screenshot below. I can split this value into different columns using the regex split node using below regex (\\d+/\\d+/\\d+)(\\D+)(\\d+:\\d+\\s\[a|p\]m)(\[\\s\]…

---

## [Regex and 'add' function](https://forum.knime.com/t/regex-and-add-function/70135)

<div class="topic-metadata">

**Author:** [@IMR2KA](https://forum.knime.com/u/IMR2KA)\
**Replies:** 1\
**Last updated:** [June 29, 2023, 11:09am UTC](https://forum.knime.com/t/regex-and-add-function/70135 "2023-06-29T11:09:41Z")

</div>

Hello all, I have a column with such values: ABC46R|4658467|54989347AV ASN4TY|3487456|5645RWUYN How can I add word new only after first “|” ? so, It should be like: ABC46R|new4658467|54989347AV ASN4TY|new3487456|5…

---

## [Regex between first and second "-"](https://forum.knime.com/t/regex-between-first-and-second/67982)

<div class="topic-metadata">

**Author:** [@IMR2KA](https://forum.knime.com/u/IMR2KA)\
**Replies:** 15\
**Last updated:** [June 13, 2023, 12:54pm UTC](https://forum.knime.com/t/regex-between-first-and-second/67982 "2023-06-13T12:54:51Z")

</div>

Hello all, I have column “Data” from which I need only data after first “-”, but before second one, please see table. So my aim is to have what you see in the column “Result” For this I used regex: Guys, how I ca…

---

## [regex insert seperator if meets condition](https://forum.knime.com/t/regex-insert-seperator-if-meets-condition/66658)

<div class="topic-metadata">

**Author:** [@sanderlenselink](https://forum.knime.com/u/sanderlenselink)\
**Replies:** 11\
**Last updated:** [May 11, 2023, 7:28pm UTC](https://forum.knime.com/t/regex-insert-seperator-if-meets-condition/66658 "2023-05-11T19:28:29Z")

</div>

Hi all, can anybody give me some hints to solve my little (?) regex problem . . . I have a string like this: Net Debt;-;-;-;-;-;-;-;Net Cash position;280;-;336;-;-;-;-;Leverage (Debt / EBITDA);-3,09x;-;-4,79x;-;-;-;-;…

---

## [Filter based on partial matching / regex](https://forum.knime.com/t/filter-based-on-partial-matching-regex/66188)

<div class="topic-metadata">

**Author:** [@bluena](https://forum.knime.com/u/bluena)\
**Replies:** 6\
**Last updated:** [April 27, 2023, 6:21pm UTC](https://forum.knime.com/t/filter-based-on-partial-matching-regex/66188 "2023-04-27T18:21:07Z")

</div>

Hello, I’m trying to filter a table if any record in a column includes: “CTO” or “Chief Technology Officer”. I don’t need it to be case sensitive. “A CTO at Coca-Cola” should match but not “A CTIO at Coca-Cola” The fol…

---

## [Column Combiner with Multiple Regular Expressions Criteria](https://forum.knime.com/t/column-combiner-with-multiple-regular-expressions-criteria/63957)

<div class="topic-metadata">

**Author:** [@alyholland](https://forum.knime.com/u/alyholland)\
**Replies:** 3\
**Last updated:** [March 20, 2023, 7:34pm UTC](https://forum.knime.com/t/column-combiner-with-multiple-regular-expressions-criteria/63957 "2023-03-20T19:34:47Z")

</div>

Hello, I am trying to combine both columns month and year to make a new column Date so the cell looks like: Month Year I have not had much luck with Regular Expressions and was looking for some help to combine both cri…

---

## [Extract specific numbers from string (CNPJ)](https://forum.knime.com/t/extract-specific-numbers-from-string-cnpj/63227)

<div class="topic-metadata">

**Author:** [@lluckams](https://forum.knime.com/u/lluckams)\
**Replies:** 3\
**Last updated:** [March 7, 2023, 8:03pm UTC](https://forum.knime.com/t/extract-specific-numbers-from-string-cnpj/63227 "2023-03-07T20:03:31Z")

</div>

Hi All, I would like to extract specific numbers at the format 00000000/0000-00 from a string. I tryed regexreplace, but is showing some error: “Evaluation of expression failed for row “Row2”: No group 1” Am I doing s…

---

## [Re-binning Mixed Column of Simple Numbers](https://forum.knime.com/t/re-binning-mixed-column-of-simple-numbers/62311)

<div class="topic-metadata">

**Author:** [@wisemanleo](https://forum.knime.com/u/wisemanleo)\
**Replies:** 7\
**Last updated:** [February 22, 2023, 11:36pm UTC](https://forum.knime.com/t/re-binning-mixed-column-of-simple-numbers/62311 "2023-02-22T23:36:00Z")

</div>

I’ve got a column that looks like this: Blank 0 New 2 0 - 5 6-10 7 8 11-15 16-30 21 22 31-50 51-99 63 I’m looking to take the true numbers and place them in the bins as the other rows are in. In the above…

---

## [Filtering out Chinese, Korean, Japanese, Thai characters with Python Script Node or Rule Engine using regular expression](https://forum.knime.com/t/filtering-out-chinese-korean-japanese-thai-characters-with-python-script-node-or-rule-engine-using-regular-expression/61350)

<div class="topic-metadata">

**Author:** [@xli](https://forum.knime.com/u/xli)\
**Replies:** 3\
**Last updated:** [February 9, 2023, 8:06am UTC](https://forum.knime.com/t/filtering-out-chinese-korean-japanese-thai-characters-with-python-script-node-or-rule-engine-using-regular-expression/61350 "2023-02-09T08:06:57Z")

</div>

Hi all, I was trying to filter data records that contain any Asian characters and later on use a translator on them…I tried with Python Script with exact same code as what I do in Spyder, which works in Spyder but not in…

[Next page](https://forum.knime.com/tag/regex/56.md?match_all_tags=true&page=1&tags%5B%5D=regex)
