Up front: I have no knowledge of VBA.
I'd like to do a multiple find-and-replace using regex.
Select column, run macro on filled cells.
Macro would find a regex pattern and replace it.
Very simple example:
contents cell: 'some text on january 18 2017'
find: ^(.+)january\s(\d{2})\s(\d{4})
repl: $1$2-01-$3
result: 'some text on 18-01-2017'
find: ^(.+)april\s(\d{2})\s(\d{4})
repl: $1$2-04-$3
etc.
same for all months and in various methods writing, like 18 january 2017
There will be quite a number of regex-finds and replaces then.
The regex as such isn't the issue, that's something I'll sort out myself.
I'd like to have kind of 'base VBA-code' so I can add new find-and-replaces myself.
A kind of 'structure' so to say.
Again, I have no knowledge of VBA.
Thanks
=
I'd like to do a multiple find-and-replace using regex.
Select column, run macro on filled cells.
Macro would find a regex pattern and replace it.
Very simple example:
contents cell: 'some text on january 18 2017'
find: ^(.+)january\s(\d{2})\s(\d{4})
repl: $1$2-01-$3
result: 'some text on 18-01-2017'
find: ^(.+)april\s(\d{2})\s(\d{4})
repl: $1$2-04-$3
etc.
same for all months and in various methods writing, like 18 january 2017
There will be quite a number of regex-finds and replaces then.
The regex as such isn't the issue, that's something I'll sort out myself.
I'd like to have kind of 'base VBA-code' so I can add new find-and-replaces myself.
A kind of 'structure' so to say.
Again, I have no knowledge of VBA.
Thanks
=