Thanks for the reply, Arigato, looks like we are misunderstanding each other.
The current structure comes out like this:
<code><span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" aria-invalid="false"></span></code>
We would like to have it like this:
<div class=”wpcf7-form-control-wrap your-name”>
<div class=”inner”>
<input type=”text” name=”your-name” value=”” size=”40″ class=”wpcf7-form-control wpcf7-text wpcf7-validates-as-required” aria-required=”true” aria-invalid=”false”>
</div></div>`
Essentially modifying the surrounding html and how the input is output, without having to rely on regex or anything like it.
Awaiting your reply.