I have an xml file of the form:
stuff
There are many propertie
/property name=\"foo\" value=\"([^\"]*)\"/
Then just replace the first submatch with the new value of your wishing.