You are not logged in.

#1 2014-04-17 22:56:53

sderrico
Member
Registered: 2014-04-17
Posts: 2

Regular Expression replacement

Hello,

I need to parse 1000 files.

Is it possible to replace a string with a date to another date?

Also, can it be done in "console mode"?

Example:

"Validated by 20 aug. 2011"
"Validated by 4 may 2014"
"Validated by 30 june 2008"
to
"Validated ON 1 may 2014"

Thank you!
Sebastien

Offline

#2 2014-04-22 09:13:44

guybushnell
Moderator
From: Norwich, England
Registered: 2013-01-28
Posts: 88
Website

Re: Regular Expression replacement

Hello.
Infix doesn't support regular expressions and I think you'd need those in order to do the replacements you describe.
I don't think it's possible using just the '?' and '*' wildcards currently provided.

Offline

#3 2014-04-23 14:56:05

sderrico
Member
Registered: 2014-04-17
Posts: 2

Re: Regular Expression replacement

Thank you gbushnell!

Offline

Board footer

Powered by FluxBB