Hi Jim, my 'commiseration' for you, your fiancee and your familys.
Hi AJ.
> "dd.mm.yy randomtext"
> I would like to move the date from the start to the end
There are better regex for date detection...
... but here's a simple one:
Find:
- two digits ===> \d\d
- one dot ====> \.
- two digits ===> \d\d
- one dot ====> \.
- two digits ===> \d\d
- a space ===> \s
- random text ===> .+
so we search for
\d\d\.\d\d\.\d\d\s.+
or for
\d\d\.\d\d\.\d\d .+
or for
\d+\. ===> one or more digit followed by an dot
\d+\.\d+\.\d+\s ===> two times the same as above PLUS one or more digit following ba a space
we want to (group) our search for to move this groups
so we search for (\d\d\.\d\d\.\d\d) (.+)
to the first (group) we refer later with \1
and for the second (group) we refer with \2
so our replace should be (second group)space(first group): \2 \1
in short:
search: (\d\d\.\d\d\.\d\d) (.+)
replace: \2 \1
Please take a look in the regex forum for further help... or ask again if not clear
