Using Regex replace

I have information in a sharepoint with different columns. If i want to check if its a new document and its ready, or old one how will i do this?

@Sira

May I know manually how do you determine if some documen tis new or old?is it the latest is considered as new?

Cheers

Yes by knowing its new. I wanted to know if i can use if statement to have a condition if its new what steps to take, or is there an easier way

@Sira

If latest is new then in find files sort by creating time and get latest

Cheers

Is there any way to get an document on regular expressions replace text ? I am not sure how to replace text

@Sira

Can you please elaborate

Cheers

I will like to know how to replace text using regular expressions.

@Sira

System.Text.RegularExpressions.Regex.Replace(stringvariable,"RegexExpression","New Value")

Cheers

Is this supposed to be the value in the assign when im using the replace regex activity?

@Sira

Yes on the right …and on left you can assign to a string variable

Cheers