regex and sed