Hi,
Invoice number contains Financial year information like 123/18-19. I want to remove /18-19 and only want 123 as output. There are two question
1) If I have all permutation combination of financial year data in invoice number like /18-19, /2018-19, 18-19, 201819 etc. How to remove these financial year numbers from invoice number so that invoice will contain only alpha-bates or number apart from these /18-19, /2018-19, 18-19, 201819 etc.
2) if I don't have permutation and combination of financial year information in invoice number, how to remove financial year information in invoice number whenever invoice contains financial year data also.
Example
| Input | Required output |
| 123 | 123 |
| abc/123 | abc/123 |
| 123/2018-19 | 123 |
| 124/2018/19 | 124 |
| 125/18-19 | 125 |
| abd-18-19 | abd |
Basically i want to do the following find replace:-
| Find | Replace |
| /2018-19 | |
| /2018/19 | |
| /18-19 | |
| -18-19 | |
I have tried with find and replace tools but it was replacing only alpha-bates and not numbers.
Please suggest appropriate tool.
Thanks in Advance