Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Insert Curly Brackets Before and After a Number

Community Beginner ,
Nov 23, 2021 Nov 23, 2021

Copy link to clipboard

Copied

Hi,

I'm working on a project which includes paragraphs starting with numbers as follows:

Screen Shot 2021-11-23 at 12.38.59.png

I want to insert curly brackets before and after the number but I don't want to do it manually. Is there any easier way to do this change?

TOPICS
How to

Views

51

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

correct answers 1 Correct answer

Community Beginner , Nov 23, 2021 Nov 23, 2021
Try a grep Find/Change: find ^\d+ and replace with ($0)

Likes

Translate

Translate
Adobe Community Professional ,
Nov 23, 2021 Nov 23, 2021

Copy link to clipboard

Copied

Yo can do this with a list, but seeing your screenshot, it seems that you do not use a list.

Capture d’écran 2021-11-23 à 11.00.07.jpg

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
Community Beginner ,
Nov 23, 2021 Nov 23, 2021

Copy link to clipboard

Copied

LATEST

Unfortunately, I'm working on a text that does not use a list. 

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
Community Beginner ,
Nov 23, 2021 Nov 23, 2021

Copy link to clipboard

Copied

Try a grep Find/Change: find ^\d+ and replace with ($0)

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
Community Beginner ,
Nov 23, 2021 Nov 23, 2021

Copy link to clipboard

Copied

Thanks a lot! It worked. 

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