I have following data.
<Abc><def>adfasdf1234567890dfa</def></Abc>
<Abc><def>adfasdf17890dfa</def></Abc>
Ineed a regular expression which matches " to ".
I have tried the following regex but it matches to
<[^>]*>.*?\d{9,}.*?<[^>]*>
Regex to match full string. Please try this
Regex: <[^>]*><[^>]*>.*?\d*.*?<\/[^>]*><\/[^>]*>
Can you provide a few more details. It's not clear what you want to match. Your regex seems to match everything from the first two open tags to the first close tag of your XML.