grep question

New Here ,
Jan 27, 2021 Jan 27, 2021

Copy link to clipboard

Copied

Hi all,

in a text I need to replace each occurences of single quotes into open double quotes and closed double quotes. A paragraph can have more occurences.

ie: This text contains ' first occurence ' but can have ' second occurence ' and other ' occurences '.

The expected output is:

This text contains “first occurence” but can have “second occurence” and other “occurences”.

Can you help me?

Thanks in advance

Giampaolo

TOPICS
How to

Views

30

Likes

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
no replies

Have something to add?

Join the conversation