Search and replace text
Click Find > Find Text... to search for text in the XML Editor.
Find what -- Enter a search string or click the down arrow next to the input box to select from a list of previously entered search strings. Click the [¶] button to insert newlines (\n) and tabs (\t) into the search string. You can also specify Unicode characters in the \x{HHHH} format.
|
• | Use \n to search for newlines. |
• | Use \t to search for tabs. |
• | Use \\n to search for \n. |
• | Use \\t to search for \t. |
• | Use \x{HHHH} to search for Unicode character U+HHHH. |
For instance:
|
• | Hello\nBIG\nworld matches Hello BIG and world on three separate lines. |
• | Hello\\nBIG\\nworld matches Hello\nBIG\nworld on a single line. |
• | Use \x{8336} to search for 茶, Unicode Han Character for 'tea' (U+8336). |
Direction -- Direction to search, starting from the current cursor position:
|
• | Forward (default) - From the current position to the end of the document. |
• | Backward - From the current position to the beginning of the document. |
Match case -- Differentiates uppercase from lowercase when performing a search.
Match whole word -- If checked only isolated words will be searched for.
Wrap around -- continues the find
|
• | from the start of the document after reaching the end if the search is in forward direction. |
• | from the end of the document after reaching the start if the search is in backward direction. |
Repeat the last Find Text action
|
• | Click Find > Find Previous to repeat the last Find Text command from the current position to the begin of the document. The settings last made in the Find Text dialog remain in effect. Note: Find > Find Previous is disabled if no active file is loaded in the XML Editor. |
• | Click Find > Find Next to repeat the last Find Text command from the current position to the end of the document. The settings last made in the Find Text dialog remain in effect. Note: Find > Find Next is disabled if no active document is loaded in the XML Editor. |
Go To Line
Click Find > Go To Line... to jump to a specific line.
|
• | Line -- Specify the line you want to go to. |
• | Column -- Specify the column you want to go to. |
Replace Text
Click Find > Replace Text... to replace text in the XML Editor.
Find what -- Enter a search string or click the down arrow next to the input box to select from a list of previously entered search strings. Click the [¶] button to insert newlines (\n) and tabs (\t) into the search string. You can also specify Unicode characters in the \x{HHHH} format.
|
• | Use \n to search for newlines. |
• | Use \t to search for tabs. |
• | Use \\n to search for \n. |
• | Use \\t to search for \t. |
• | Use \x{HHHH} to search for Unicode character U+HHHH. |
For instance:
|
• | Hello\nBIG\nworld matches Hello BIG and world on three separate lines. |
• | Hello\\nBIG\\nworld matches Hello\nBIG\nworld on a single line. |
• | Use \u8336 to search for 茶, Unicode Han Character for 'tea' (U+8336). |
Replace with -- Enter a replacement string or click the down arrow next to the input box to select from a list of previously entered replacement strings. To replace the text with nothing, leave this input box blank. Click the [¶] button to insert newlines (\n) and tabs (\t) into the replacement string. You can also specify Unicode characters in the \x{HHHH} format.
|
• | Use \n to replace with newlines. |
• | Use \t to replace with tabs. |
• | Use \\n to replace with \n. |
• | Use \\t to replace with \t. |
• | Use \x{HHHH} to search for Unicode character U+HHHH. |
For instance:
|
• | Hello\nBIG\nworld will insert Hello BIG and world on three separate lines. |
• | Hello\\nBIG\\nworld will insert Hello\nBIG\nworld on a single line. |
• | Use \x{8336} to search for 茶, Unicode Han Character for 'tea' (U+8336). |
Direction -- Direction to search, starting from the current cursor position:
|
• | Forward (default) - From the current position to the end of the document. |
• | Backward - From the current position to the beginning of the document. |
Match case -- Differentiates uppercase from lowercase when performing a search.
Regular expressions -- If checked the search will be executed using regular expressions.
Match whole word -- If checked only isolated words will be replaced.
See Also