Using notepad++ or microsoft word: I need to find a digit followed by "tab" and followed by another digit, just replace the tab by EOL. example: $5,974.89 \t 776
1 Answer
Using notepad++ (using regex):
find: (.*[0-9])(\t)([0-9].*)
replace (by inserting "enter"): \1\n\3
-
@Rohit Gupta, how did you get the image to load? I uploaded the image in FireFox but couldn't get it to load the image - only to display the link.– tsu tsuCommented Jul 15, 2023 at 0:15
-
You can see the edit history by looking at the edit queue. Use the link e.g.
edited X hours ago
andSide-by-side Markdown
button. The exclamation mark was missing. Commented Jul 15, 2023 at 8:02 -
The two
.*
are useless as well as the capture group for\t
; a more efficient regex:(\d)\t(\d)
and replace:$1\n$2
– TotoCommented Jul 15, 2023 at 8:02
\t
to represent a tab character.