Icon

kn_​forum_​66998_​regex_​extractor_​capital_​letters

Extract three capital letters from a string with RegEx and compare them to a list

Extract three capital letters from a string with RegEx and compare them to a list

-----------
\s([A-Z]{3})(\s|$)

This RegEx code will find all groups of exactly three uppercase letters in the string that are either preceded and followed by one or more spaces, or are at the end of the string. It will match 'IBM' even though it is at the end of the string without a trailing space.

Extract three capital letters from a string with RegEx and compare them to a listhttps://forum.knime.com/t/internal-comparison-of-two-csv-tables/66998/3?u=mlauber71 \s([A-Z]{3})(\s|$)This RegEx code will find all groups of exactly three uppercase letters in the string that areeither preceded and followed by one or more spaces, or are at the end of the string. It will match'IBM' even though it is at the end of the string without a trailing space. datacurrency_symbol\s([A-Z]{3})(\s|$)https://hub.knime.com/anotherfrauduser/extensions/org.anotherfraud.excel.feature/latest/strip($my_value_regexSubstring$)filtered rows\s([A-Z]{3})(\s|$)Regex Extractorhttps://nodepit.com/node/ws.palladian.nodes.extraction.regex2.RegexExtractor2NodeFactoryhttps://forum.knime.com/t/can-we-extract-the-regex-substring-from-the-string/28467/3?u=mlauber71strip($Full Match$)filtered rows Table Creator Table Creator Regex Substring String Manipulation ReferenceRow Filter Regex Extractor String Manipulation ReferenceRow Filter Extract three capital letters from a string with RegEx and compare them to a listhttps://forum.knime.com/t/internal-comparison-of-two-csv-tables/66998/3?u=mlauber71 \s([A-Z]{3})(\s|$)This RegEx code will find all groups of exactly three uppercase letters in the string that areeither preceded and followed by one or more spaces, or are at the end of the string. It will match'IBM' even though it is at the end of the string without a trailing space. datacurrency_symbol\s([A-Z]{3})(\s|$)https://hub.knime.com/anotherfrauduser/extensions/org.anotherfraud.excel.feature/latest/strip($my_value_regexSubstring$)filtered rows\s([A-Z]{3})(\s|$)Regex Extractorhttps://nodepit.com/node/ws.palladian.nodes.extraction.regex2.RegexExtractor2NodeFactoryhttps://forum.knime.com/t/can-we-extract-the-regex-substring-from-the-string/28467/3?u=mlauber71strip($Full Match$)filtered rows Table Creator Table Creator Regex Substring String Manipulation ReferenceRow Filter Regex Extractor String Manipulation ReferenceRow Filter

Nodes

Extensions

Links