Regular Expression replace in Sublime Text

find: <img src="(.*)" class
replace: <img src="{% static '$1' %}" class

find: href="travel-page-(\d+).html"
replace: href="{% url 'travel_detail' '$1' %}"