Add functions for regex replacement, sorting and humanizing.

Change-Id: I471c7a8087cd5432b51afce811b591b11583a0c3
Merge "Add functions for regex replacement, sorting and humanizing."