Regex edits