Regex extracting the string

Hi @Krutika_Kotkar,

Please try with the below -
Regex.Match(Your_String_Variable,“(?<=Lic\s*.\sNo.|NO.\s)(.)(?=\sor)”).Value.Trim

Hope this will help you.

Thanks & Regards,
Apurba