About 19,100,000 results
Open links in new tab
  1. How to search and replace text in an XML file using Python?

    Jun 17, 2016 · How do I search an entire xml file for a specific text pattern and then replace each occurrence of that text with new text pattern in Python 3.5? Everything else (format, attributes, …

  2. Replace <values> data in a lot of xml files - Super User

    Dec 26, 2017 · I assume that it's <Speed>25</Speed> and this string is to be changed to <Speed>100</Speed>, then open Notepad++, Ctrl-Shift+F to open Find in Files. You can just …

  3. How to Replace String in XML File using PowerShell? - SPGuides

    Jan 30, 2024 · In this PowerShell tutorial, I will show a complete example of how to replace a string in an XML file using PowerShell. Let us try to understand this with a simple but complete …

  4. text processing - How to replace, in an XML file, specific strings …

    Apr 24, 2022 · I need to replace, in an XML file, specific strings of characters in some specified tags with other strings of characters embedded in tags. Example searching every occurance of …

  5. Find & Replace text within an xml file - Stack Overflow

    May 31, 2019 · How can you find and replace text in a file using the Windows command-line environment? 1 Search and Replace XML attribute using file name as the attribute value …

  6. Find/Replace in Files for Multiple Lines in an XML file

    May 4, 2022 · The single file find/replace works well in that I can locate an entire structured metadata element and modify or delete. When I use the Fine/Replace in files function, it will …

  7. Find xml tag and replace the text inside the tag to a parameter …

    Jun 19, 2020 · Find a specific xml tag and replace the text inside tags to some parameterized value. Multiple occurrences need to be replaced. Sample file content: &lt;a&gt;abc&lt;/a&gt; …

  8. using Sed to search and replace text in XML file

    sed -i -r 's/<!--(UpdateAccountGUIDs.+?)-->/<\1>/' File.XML Here, the -r enables extended regular expression syntax so we can use () to capture a group (without needing to escape the …

  9. How to replace the values/text in XML file using Powershell

    Sep 20, 2023 · I have the following content in a XML file. I'm trying to update the XML file using powershell script &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; …

  10. Find and Replace text in XML file using c# - Stack Overflow

    Sep 11, 2013 · Using XDocument there is currently no built-in way to replace text in the whole file. However what you can do is XDocument document = XDocument.LoadFrom(path); var …

  11. Some results have been removed