View Single Post
 
Old 06-22-2021, 04:08 AM
falcios falcios is offline Windows 7 64bit Office 2019
Advanced Beginner
 
Join Date: Aug 2019
Posts: 57
falcios is on a distinguished road
Default Find and Replace Code Not Working

Hello

This is my sample text
02:20
key and press it again to exit full
02:22
screen tip number four
02:24
you can also use shortcut keys to
02:26

I want to delete the hard returns after the time stamps so that the text moves up next to the timestamp
Also, a colon and space after the timestamp

I was given two formulas
1.
Find and replace with wildcards turned on
Find = (:[0-9]{2})^13
Replace with = \1^t

2. This one was working
Find = ([0-9]:[0-9]{2})^13
Replace = \1:

Both formula's messages are: searched the selection but can't find any matches.

I'm assuming that the equal sign is included in the formula?

What do I need to change in the formulas to get them to work?

Thanks in advance.
Reply With Quote