Tapatalk

Forum Images Sorting

Forum Images Sorting

12
Basic UserBasic User
12

    Jun 17, 2006#1

    how sort this text, please
    example:

    Code: Select all

    [img]http://...[/img][img]http://...[/img][img]http://...[/img]
    into:

    Code: Select all

    [img]http://...[/img]
    [img]http://...[/img]
    [img]http://...[/img]

    AND another sorting

    Code: Select all

    [img]http://...[/img]
    [img]http://...[/img]
    [img]http://...[/img]
    [img]http://...[/img]
    [img]http://...[/img]
    [img]http://...[/img]
    into (two colums):

    Code: Select all

    [img]http://...[/img][img]http://...[/img]
    [img]http://...[/img][img]http://...[/img]
    [img]http://...[/img][img]http://...[/img]

    10
    Basic UserBasic User
    10

      Jun 21, 2006#2

      search and replace (regular expr's unchecked)
      1:
      find what: [/img]^p^p[.img]http://...[/img]
      replace with: [.img]http://...[/img][.img]http://...[/img]

      (period added to [.img] to prevent rendering)

      12
      Basic UserBasic User
      12

        Jun 21, 2006#3

        first works great ... thanx :)

        but second is not variable ...

        i need something like:

        Code: Select all

        Find "[img]*^[/img]^p[img]*^[/img]"
        Replace All "[img]^1[/img][img]^1[/img]"
        and testing this stupid method:

        Code: Select all

        InsertMode
        ColumnModeOff
        HexOff
        UnixReOff
        Top
        Loop 
        Key END
        Key DEL
        Key DOWN ARROW
        Else
        ExitLoop
        EndIf
        EndLoop

        6,685587
        Grand MasterGrand Master
        6,685587

          Jun 21, 2006#4

          EllE wrote:but second is not variable ...

          i need something like:

          Code: Select all

          Find "[img]*^[/img]^p[img]*^[/img]"
          Replace All "[img]^1[/img][img]^1[/img]"
          Correct is:

          UnixReOff
          Find RegExp "^(^[img^]*^[/img^]^)[ ^t]++^p^(^[img^]*^[/img^]^)"
          Replace All "^1^2"
          Best regards from an UC/UE/UES for Windows user from Austria

          12
          Basic UserBasic User
          12

            Jun 21, 2006#5

            T*h*a*n*k*s :idea: :arrow: :lol: