Find & Replace in multiple values
-
Could you please help me the the following search-and-replace problem I am having?
I need to make a substitution in multiple values, for a defined value.
In the example I indicate 5 lines, but there will be around 2000, in a document with 80000 lines.Here is the data I currently have:
<CustomerTaxID>505811480</CustomerTaxID>
<CustomerTaxID>500070210</CustomerTaxID>
<CustomerTaxID>203375661</CustomerTaxID>
<CustomerTaxID>503487481</CustomerTaxID>
<CustomerTaxID>503424552</CustomerTaxID>Here is how I would like that data to look:
<CustomerTaxID>999999999</CustomerTaxID>
<CustomerTaxID>999999999</CustomerTaxID>
<CustomerTaxID>999999999</CustomerTaxID>
<CustomerTaxID>999999999</CustomerTaxID>
<CustomerTaxID>999999999</CustomerTaxID>How can I use regular expressions for this purpose?
Thank you very much.
-
@Artur-Monho said:
Search for
<CustomerTaxID>\d+</CustomerTaxID> -
Solved. Thanks
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