Hi
Can anyone help me with this Regex formula I am trying to build? I think the & sign in group 4 is throwing out the formula as it is working for strings that don't have any special characters.
/[^0]*(\d{1,2}\/\d{1,2}\/\d{4})\s*(\D*)(\d{2}\s\D*)\s+([A-Z]{2,4}\D*)\s+([A-Z0-9]{2,4}\D*)(\d+\.?\d{0,2}?)\D+(\d+\.?\d{0,2})\D+(\d+\.?\d{0,2})\D+(\d+\.?\d{0,2})
/gm
07/22/2025 TEST TEST LLC 45 Loss Expenses D&O Directors & Officers Z0 Unknown or Unclassified 0.00 0.00 0 10.02
The output I am looking for is:
| GROUP 1 | 07/22/2025 |
| GROUP 2 | TEST TEST LLC |
| GROUP 3 | 45 Loss Expenses |
| GROUP 4 | D&O Directors & Officers |
| GROUP 5 | Z0 Unknown or Unclassified |
| GROUP 6 | 0.00 |
| GROUP 7 | 0.00 |
| GROUP 8 | 0 |
| GROUP 9 | 10.02 |
Can anyone suggest how to amend it