wkaczurba

Regex

Changing multiple spaces in Java into single ones

Java - + vs *

This is where + and * characters matters:

This will mess things up:

Sed -e vs -E

This does not work (-e) -> it is to add scripts one after another

This works though (-E) -> thi is for -E, -r, –regexp-extended

With -E the following will work: