January 5th, 2014, 12:02 AM
Help with simple RegExp syntax
I'm just learning RegExp, and now I keep getting stuck at this very (simple ) problem.
In a .txt file i have multiple lines. Every line contains timing data like this:
All lines have different words/chars before and after the times.
time [4.1s] [4100ms]
time [5.53s] [5530ms]
I want to do a Find- and replace action (In Notepad++) to get the following, simple, format:
How do I do it? What is the regular expression to use?
Any help is greatly appreciated!
January 5th, 2014, 12:41 AM
What have you tried? Is "numbers, a decimal point, more numbers, and the letter 's'" not specific enough? Looks like that would work fine, given the example.