Hi Guys, Hope you can help, I’m fairly new to the GREP’s but am trying to apply a strikethough to any prices in the following formats, but ONLY IF they follow on from the letter PM.
I have come up with the following which works when i’m just changing the text color but when I apply the strikethrough to the character style it then strikes through to the entire line, in addition it also seems to apply it to other prices elsewhere in the document even though they don’t come after the letters “PM”.
(?<=[PM]\s)(£\d+)|(£\d+.\d+) this doesn’t work at all but i thought it should
(?<=[PM]\s)£\d+ without pence (works when adjusting font color)
(?<=[PM]\s)£\d+.\d+ with pence (works when adjusting font color)
Thank you in advance and appreciate any help you can offer :).