S
Shan1986
Guest
Hallo,
I am trying to extract matched patterns from string using regex. For example my string is "123[xxy],sdf[zzx],fdf[xxx]" and i want to extract the contents inside the square brackets ( var1= xxy, var2=zzx, var3=xxx). Every string will contain up to maximum of 3 square brackets . How do i do it?
Thanks
Continue reading...
I am trying to extract matched patterns from string using regex. For example my string is "123[xxy],sdf[zzx],fdf[xxx]" and i want to extract the contents inside the square brackets ( var1= xxy, var2=zzx, var3=xxx). Every string will contain up to maximum of 3 square brackets . How do i do it?
Thanks
Continue reading...