Help needed with Search and Replace
-
I do not want the document number in my XML File.
I tried search and replace but don’t know how to use it in the right way.What do i need to SEARCH for if i want all the <Document number=“[0-9}”> tags need to be replaced with the tag: <Document> ? Or is there an other way to delete these numbers.
Below an example of the XML file with 2 documents

-
@Sandra-Treffers, All
You were close. One way to solve it is the following regex:
Search: (<Document) number="[\d]+"> Replace: $1>Put the caret at the very beginning of the document, select the
Regular Expression modeand click onReplaceorReplace All.Hope this helps.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login