Line 15: |
Line 15: |
| | | |
| <br/>'''Extract text'''<br/> | | <br/>'''Extract text'''<br/> |
− | Uses a regular expression to match and extract a section from the text.<br/> | + | Uses a regular expression to match and extract a section from the text. |
| + | <br/>'''Example Usage'''<br/> |
| + | My phone number is 1234567890<br/> |
| + | Extract the expression "[0-9]". |
| + | This will give a final result of the extraction of the phone number. |
| + | <br/> |
| <br/>'''Upper case'''<br/> | | <br/>'''Upper case'''<br/> |
| Converts the text to all upper case characters.<br/> | | Converts the text to all upper case characters.<br/> |
| + | '''Example Usage'''<br/> |
| + | Source text<br/> |
| + | "Macrodroid is my app to automate my device".<br/> |
| + | Final result |
| + | "MACRODROID IS MY APP TO AUTOMATE MY DEVICE".<br/> |
| <br/>'''Lower case'''<br/> | | <br/>'''Lower case'''<br/> |
| Converts the text to all lower case characters.<br/> | | Converts the text to all lower case characters.<br/> |
| + | '''Example Usage'''<br/> |
| + | Source text<br/> |
| + | "MACRODROID IS MY APP TO AUTOMATE MY DEVICE".<br/> |
| + | Final result<br/> |
| + | "macrodroid is my app to automate my device".<br/> |
| <br/>'''Trim whitespase'''<br/> | | <br/>'''Trim whitespase'''<br/> |
| Removes any leading/trailing whitespace from the text. | | Removes any leading/trailing whitespace from the text. |