View Single Post
 
Old 01-24-2019, 04:43 PM
jeffreybrown jeffreybrown is offline Windows Vista Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default Subscript number proceeded by an "X"

If have many instances of X followed by a number, but I only want to subscript the number if it's proceeded by a single X.

X1
X2
X3
X4
X5
X6
12
23
12
45

A wildcard Find/Replace:
Find = [0-9]{1,}
Replace = ^&

This subscripts everything, but not sure how to isolate the number.
Reply With Quote