Hi I have this type of data can post the original due to sensitivity. As you can see there is this ID in random places in data 2ABC-20-06-XXX-026 all IDs are of same number of 18 Characters and all have XXX in common but there position in the text is different as can be seen below in the Input column. I want the ID extracted and placed in output column as can be seen!! Please need help as i am a newbie to regex
| Input | Output |
| This is 2ABC-20-06-XXX-026 and it is 26 | 2ABC-20-06-XXX-026 |
| Can I be 2ABC-20-06-XXX-027 what can I be | |
| Are you sure 2ABC-20-06-XXX-028 can it be true | |
| how doubt full ssss deec eljjdjdjd 2ABC-20-06-XXX-029 | |
| Wwyy abdhkjkjkdjkfj 2ABC-20-06-XXX-030 cjdnknskk shdjdhdu | |
| 2ABC-20-06-XXX-678 as it can be airport | |