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
Try the following
(?i)(?<=\d)x(?=\d)
And replace with *
-Manan
Copy link to clipboard
Copied
Try the following
(?i)(?<=\d)x(?=\d)
And replace with *
-Manan
Copy link to clipboard
Copied
Thanks, it works perfectly
Copy link to clipboard
Copied
Replace it with:
\x{00D7}
Regards,
Uwe Laubender
( ACP )
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
Copy link to clipboard
Copied
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 )