Hi friends,
Am not sure if this falls under the regular expression category; this is my problem. Lets say i have a string like this:

Code PHP:
<input name="edtTotal" size="3" value="[B]12[/B]" type="text">

i need help to write a php script(a search & replace kind of function), to replace the string for the tag 'value' with any given string irrespective of what is inside the value tag.

Any help is highly appreciated

Thanks