Glad you all sorted REVOFEV.
(I can see what you did here Mayibongwe, so maybe I can use this as an example to learn a little more about RegEx)
Sweet. A quick breakdown of the regex for everyone:
Search string:
(.*);( .*)Replacement string:
$1 &$2(.*); the period represents "any character" and the asterisk means keep on matching as many "any characters" as you can up until the last semi-colon encountered.
the parentheses are just telling it to capture everything in memory except the semi-colon.
( .*) the second pair of parentheses is telling it to capture the whitespace after the semi-colon and everything else that follows.
I should have used \s in the pattern to represent the whitespace for visibility's sake.
so (\s.*) would have meant the same thing - whitespace + all that remains.
$1 &$2 dollar one outputs what was captured in the first set of parentheses.
dollar two outputs the second captured content.
More in-depth explanations and examples will be found here on
karbock's excellent guide.