Remove starting special characters

Hello Team,
Im scraping the Data from Pdf but i cant control special characters while scraping because some times special characters mentioned sometime not so. Now i need one help for this.
For the scraping output data starts with special characters like : , . I need to ignore this special characters only in the starting how can i control this? Please help

Thanks in advance

@Shriharsha_H_N - You can either do string manipulation or Regex to ignore that special character after the data extraction…

1 Like

You could also use TrimStart()

data = data.TrimStart(":,."c)
1 Like