Hi All. I need help from extracting only numeric values from the beginning of a substring, if any. My input and desired output looks like this:
Input:
| Account |
| 1000 cash |
| 2000 AR |
| Trade receivable |
| Trade Payable |
| 5000 Suspense |
| 6000 COGS |
Desired Output
| Account1 | Account2 |
| 1000 | cash |
| 2000 | AR |
| | Trade receivable |
| | Trade Payable |
| 5000 | Suspense |
| 6000 | COGS |
Please help.