I was working with some text the other day which included a lot of references using numbers in square brackets; I needed to remove this text and wanted an easy way of doing it.
I did a little research and found that Notepad++, an application I already use, can do regular expression find and replace.
The regular expression for a number surrounded by square brackets is:
To use the regular expression in find and replace, enter the regular expression into the Find what box and change the Search Mode to Regular expression:
When you hit Replace, or Replace All, the regular expression will be used to repalce the matching text with the supplied replacement value.
ISC Software Solutions
are UK and Ireland based experts on Microsoft Dynamics GP. If you’d like to speak to someone about support, consultancy, upgrades, implementation, development, GP Elementz add-ons or portals
, or anything else Dynamics GP related, you can use the form below.