<p>I am using WCF to upload data to a server.</p>

<p>If the communication fails, is there any way to resume the upload?</p>

You will probably have to do some level of sanitisation. For example, the
perlre
man page describes the following construct:
```
```
(?{ code })
```
```
which allows executable code inside a pattern match.