crazyboybert
Programmer
Hi
I want to write a regex to replace the _ character in framework generated control ids. Easy except I need the expression to match all instances of an _ except where it is the first character in the string. Can't work it out at all.
Obviously ^_ will match the first character if it is an underscore but how do I match all underscores in a string except if one is the first character?
Thanks
Rob
i'm a boy, called Bert, and I may not be crazy, but if i'm not the rest of you are...
I want to write a regex to replace the _ character in framework generated control ids. Easy except I need the expression to match all instances of an _ except where it is the first character in the string. Can't work it out at all.
Obviously ^_ will match the first character if it is an underscore but how do I match all underscores in a string except if one is the first character?
Thanks
Rob
i'm a boy, called Bert, and I may not be crazy, but if i'm not the rest of you are...