Regular expressions question

I have a customer who is sending “XML” tags in the form of
<20040802> and ending tag </20040802>
Now in order to make well formed XML I need to use the replace method and a regular expression to search a string and replace any occurences of < followed by 8 numbers and </ followed by 8 numbers, but I can’t seem to get the syntax right.
Anyone know the syntax for this?

Try this:

pub.string:replace

inString - </20040802>
SearchString - [0-9]+[10-99]
replaceString - X
useRegex - True

It should work.