View Single Post
 
Old 06-22-2021, 07:12 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,164
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

\1 means whatever it found that was inside the first (curved) brackets. Because of the wildcards we don't know exactly what was found but the \1 means leave that part as it was.

The colon and the space are exactly that.

Effectively, you are replacing the return with a colon space but only when the return is preceded by a pattern of ##:##
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote