Need to replace wildcard text between [ ]

Need to replace wildcard text between [ ]

1
NewbieNewbie
1

    Sep 20, 2006#1

    Hi,
    Having some difficulty trying to figure how to do the following;
    Text file with lines such as
    ab[1]=1[1,abc.........;
    ab[2]=2[2,xyz.........;
    ab[3]=3[3,def.........; etc

    I need to delete the ab[1]=1[ from each line (or replace with a ,).
    I know [ ] normally used for a range but cannot figure how to replace those brackets and the number range (up to 1000) between them.

    Thx for thoughts.... :?

    6,686585
    Grand MasterGrand Master
    6,686585

      Sep 21, 2006#2

      As described in help of UltraEdit/UEStudio at the pages Find command and Regular expressions the escape character for the UltraEdit regex engine is ^ and for Unix/Perl regex it is \.

      So the regex for the UltraEdit engine is: %*^[[0-9]+^]=[0-9]+^[

      And for Unix/Perl: ^.*\[[0-9]+\]=[0-9]+\[     or    ^.*\[\d+\]=\d+\[
      Best regards from an UC/UE/UES for Windows user from Austria