GREP for replace letter x with multiplication symbol ×

Community Beginner ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

Hi,

I’m looking for a GREP that can replace all instances of the letter x (both lowercase and uppercase) with the symbol of multiplication ×.

 

The occoruncies are something like this:

 

42x58x8cm

39x58x16cm

90x165mm

39X56X19cm

15x8

34X44

54x125x5

 

Thanks in advance

TOPICS
How to

Views

70

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

Adobe Community Professional , Feb 02, 2022 Feb 02, 2022
Try the following (?i)(?<=\d)x(?=\d) And replace with * -Manan

Likes

Translate

Translate
Adobe Community Professional ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

Try the following

(?i)(?<=\d)x(?=\d)

And replace with *

-Manan

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 ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

Thanks, it works perfectly

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
Adobe Community Professional ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

Replace it with:

\x{00D7}

 

Regards,

Uwe Laubender

( ACP )

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
Adobe Community Professional ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

Hi Uwe,

Any specific reason to use the unicode notation(assuming it translates to multiplication symbol i.e. asterix)

-Manan

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
Adobe Community Professional ,
Feb 02, 2022 Feb 02, 2022

Copy link to clipboard

Copied

LATEST

Hi Manan,

it's more obvious for me to use the unicode notation.

So that I cannot confuse the character with a normal "x" when in a hurry.

I even do this for simple blank characters like \x{0020}.

 

Regards,
Uwe Laubender

( ACP )

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