1
I have the following string:
2014-10-12 17:04:29.996
It’s a format timestamp
and is wrong because after the hour there is the .996
. To capture this stretch I used the regex
:
\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{2,3}
How can I remove only the ending taking into account that I have many occurrences ?
vc opened the xml in a text editor and wants to remove the microsecond?
– rray
Exactly that, I may have misexplained the question.
– Roknauta
I need to save the first part to replace it by removing what I don’t want.
– Roknauta
The answer didn’t resolve? your string is between tags?
– rray
It’s like this:
DT_HR_ALTERACAO="2015-02-05 10:55:01.324"
– Roknauta