Roman Candle
Member
It's been ages since I've had to ask for help here, but I've had to swallow my pride and come back begging for this one :D I'm writting an alternate message system, which autosizes itself. Each time the message text is changed, it uses a method to check the final width and height of the window. However, to do this it needs to eliminate the "\001" commands, as these are not displayed. However, I'm really stuck on the regexp to use:
The string to be removed would look like this: "\001"
However, none of these expressions produces a match:
/\00\d/ /\\00\d/ /\00[1-9]/
Could someone explain why? I'm not so good with regular expressions.
The string to be removed would look like this: "\001"
However, none of these expressions produces a match:
/\00\d/ /\\00\d/ /\00[1-9]/
Could someone explain why? I'm not so good with regular expressions.