##Find all occurrences of icon_name_of_icon and replace them with ion_name_of_icon

In the 2.x version of sweetmandm/ionicons-iOS, the format of icon code constants have changed from icon_name_of_icon to ion_name_of_icon; icon_ios7_name_of_icon to ion_ios_name_of_icon

For example:

Version 1.x

icon_camera
icon_navicon
icon_ios7_email

Version 2.x

ion_camera
ion_navicon
ion_ios_email

###Solution

Search:

icon_ios7_([_a-zA-Z]*)

Replace:

ion_ios_$1



Search:

icon_([_a-zA-Z]*)

Replace:

ion_$1