Extracts text from a field that matches the pattern of the regular expression entered. A new column is created for the results. (List)
For more support on writing regular expressions, contact a support representative.
- Select an argument. (String)
- Enter an output field name.
- Enter a regular expression to apply to the argument's value.
- Click OK.
In this example, the text strings come from Twitter.
The user wants to extract all the hashtag words from the text.
|Example Field String||Regular expression value||Result|
|If you're looking to implement any #ArtificialIntelligence project, check out our step-by-step guide. #AI||#[a-zA-Z]+||[#ArtificialIntelligence, #AI]|
Hero Platform_ Example
An example of this function can be found in Hero Platform_'s library of examples.
Download the example titled "function_RegExtract" to see an example of this function.