• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

GREP Search and Replace

Explorer ,
Aug 16, 2022 Aug 16, 2022

Copy link to clipboard

Copied

Does anyone know if it's possible to search for a (.) period that is between two letters and delete just the period and leave the letters intact?

 

I have a Word file that's been exported out of a PDF file and everywhere there was a hyphen a (.) period was inserted.

 

Thanks,

 

Peter

TOPICS
How to

Views

146

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 16, 2022 Aug 16, 2022

Find what

(?<=\w)\.(?=\w)

Change to:- Leave it blank

See if this works

-Manan

Votes

Translate

Translate
Community Expert ,
Aug 16, 2022 Aug 16, 2022

Copy link to clipboard

Copied

Find what

(?<=\w)\.(?=\w)

Change to:- Leave it blank

See if this works

-Manan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 17, 2022 Aug 17, 2022

Copy link to clipboard

Copied

Could you use a basic find/change using an 'any character' wildcard either side of a period and in the change box remove the period?

Although the GREP looks handy.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2022 Aug 17, 2022

Copy link to clipboard

Copied

LATEST

You are basically asking for the Grep syntax to work for text find/replace. I don't think that would work. However, why do you want to avoid grep and use text find/replace, any reasons?

-Manan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines