How to remove characters next to the mail?

Hi everyone,
After extraction of mail Field in PDF am getting like “Krishna1234@gmail.com CST” how can remove that and out of 10PDFs only 3PDFs was coming like this.

Help me friends

Thanks in advance
Krishnareddy

Can you show that PDF?

1 Like

Please be a bit more specific

  • is the “Krishna1234@gmail.com CST” coming in the subject text or sender’s info?
  • and I assume you have 10 PDF’s attached and are able to access only 3 ?

If you want to remove “Krishna1234@gmail.com CST”, you can MyString.Replace(MyString,String.Empty) However, can you please be more specific with your question?

1 Like

@Shubham_Varshney when the time extraction of PDF’s. am Able to extract all pdfs but few file getting CST along with Mail…

@monsieurrahul I want to remove only CST thing from mail but all pdfs not getting CST only Few…

Hi @krishnareddy

String.Replace(“CST”,“”) thats all.

cheers :smiley:

Happy learning :smiley:

2 Likes