regex - Regular expression to delete square brackets in MS Word -


i have ms word document full of references in square brackets in format – lorem ipsum [1] dolor sit amet [2], consectetur adipiscing elit [3]. ... proin eu auctor lectus [99].

i'd delete of those, using regular expression, square brackets have special meaning in ms word's regexp. tried [ \[ (0-9){1,} \] ] not produce i'm expecting.

any ideas?

i tried 1 in word 2010 example text , worked me:

(\[[0-9]*\]) 

it searches open square bracket \[, followed numbers [0-9]* , closing square bracket \], brackets escaped \

see office help more detailed information regex in word.


Comments

Popular posts from this blog

smartface.io - Proper way to change color scheme for whole application -

javascript - three.js lot of meshes optimization -

Email notification in google apps script -