Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Notifications
Mark all as read
Q&A

In Word's Find and Replace, when to use # vs. (0, 9)? [closed]

+0
−1

Closed as unclear by samcarter‭ on May 24, 2022 at 15:49

This question cannot be answered in its current form, because critical information is missing.

This question was closed; new answers can no longer be added. Users with the reopen privilege may vote to reopen this question if it has been improved or closed incorrectly.

I need to remove all the red text below with ‘Find and Replace’, but keep all green text.

Input

1:23
Keep this line 1.

4:56
Keep this line 2.

Image alt text

Snag

Inputting ^#:^#^# removed the red text, but not ([0-9]):([0-9])([0-9]). Why?

This website recommends ([0-9]). See their screenshot below.

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Please show a screenshot of the settings *you* used. (1 comment)
Can't reproduce (1 comment)

0 answers

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!

Like what we're doing? Support us! Donate