regex - Match LAST_NAME, FIRST_NAME and replace with FIRST_NAME LAST_NAME with regular expressions -
i haven't had use regular expressions in time, find myself trying
(?<lastname>[a-za-z]+\,) (?<firstname>[a-za-z]+)
as matching pattern, think i'm going down wrong path, let alone replacement pattern, why thought return pattern names.
replace:
([a-za-z]+), ([a-za-z]+)
with:
$2 $1
Comments
Post a Comment