Remove character

Hello,

I want to remove the
Answer the following questions: Each question carries 2 marks full character in to null or empty in the middle whatever numeric digit is there that’s varies anyone could you help me for this

Thanks in advance

@Shriharsha_H_N
Do you want to remove the numeric char in it or the complete sentence?

@Blesslin
i need to remove complete scentance but that numeric value will differ document to document

Hi,

Hope the following expression helps you.

strData = System.Text.RegularExpressions.Regex.Replace(strData,"Answer the following questions: Each question carries \d+ marks","")

Regards,

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.