To replace all instances of "<br>" with a new line character in a specific cell:
- Select the cell that contains the text you want to replace.
- In the formula bar at the top of the screen, type the following formula:
Formula:
=SUBSTITUTE(A1,"<br",""&CHAR(10)&"")
Note: Replace "A1" with the cell reference of the cell you want to modify. - Press Enter on your keyboard.
To replace all HTML tags in your workbook with a new line character inside the same cell:
- Press Ctrl + H on your keyboard to open the Find and Replace dialog box.
- In the "Find what" field, type "<*" (without the quotes).
- In the "Replace with" field, type ""&CHAR(10)&"" (without the quotes).
- Click the "Options" button to expand the dialog box.
- Under "Search", select "Workbook" to search all sheets in your workbook.
- Under "Within", select "Sheet" to search within each cell.
- Click "Replace All" to replace all instances of HTML tags with a new line character in your workbook.
Note that this will modify all cells in your workbook that contain HTML tags, so make sure to save a backup copy of your workbook before proceeding.