Require text after ignoring a specific words using REGEX
I would like to extract words after ignoring certain key words.
I want to ignore supplied by or supplied by M/S until the end of line.
Input Text
Remittance Advice
This section includes details as supplied by M/S MOBIS INDIA LIMITED
This section includes details as supplied by MANDO AUTOMOTIVE INDIA LIMITED
This section includes details as supplied by MAHINDRA AND MAHINDRA AUTO SECTOR
Expected Output
MOBIS INDIA LIMITED
MANDO AUTOMOTIVE INDIA LIMITED
MAHINDRA AND MAHINDRA AUTO SECTOR
I have given something like this
(?<=(supplied by.)|(supplied by M/S.)).*
Appreciate help here.
Read more here: Source link