# Extraction Rules

This prop only applies to UI Elements. &#x20;

Prop Name: prop.extraction.operation

Extraction Options

| Rule                                 | Rule Desc                                                                 | Example                                      |
| ------------------------------------ | ------------------------------------------------------------------------- | -------------------------------------------- |
| trim.remove.text                     | Remove text chars in the String                                           |                                              |
| trim.remove.spaces                   | Removes all Spaces in the string                                          |                                              |
| trim.remove.invisiblechars           | Removes chars newline, return etc which are not visible                   |                                              |
| trim.remove.allspecial               | Removes all special chars (chars not an alphabet or number)               |                                              |
| trim.to.numbers                      | Removes all the chars that are numbers                                    |                                              |
| trim.to.alphanumeric                 |                                                                           |                                              |
| left:\[number or text]               | Gets left chars of specified number or text to the left of given phrase   |                                              |
| right:\[number or text]              | Gets right chars of specified number or text to the right of given phrase |                                              |
| replace:\[original text]:\[new text] | Find original text and replace with new text phrase                       | Example: replace:\[%20]:\[ ]                 |
| substring:\[start]-\[end]            | Extracts string that's in between start index and end index               | start/end can be either a number or a phrase |
