Delete parts of text and write back into DT

Hi friends,

I have a data table with two columns (0 and 1)
In columns 0 I have an ID
In column 1 I have a text where I only need a part of it.

For example: scan.pdf (https://botforce.wufoo.com/cabinet/0842f957-b1b2-4c67-8085-43022e699928)

In only need the the text between ( and ) --> https://botforce.wufoo.com/cabinet/0842f957-b1b2-4c67-8085-43022e699928

And in each row I have a different text but a similar format. I always need the text between ( and ).

Any idea’s how to do this?

Thx.
Robert

I already found it myself:

System.Text.RegularExpressions.Regex.Match(row.Item(1).ToString,"(?<=().*?(?=))").ToString

Cheers,
Robert

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