Thanks Tom, much appreciated.
The regex was stumping me and in the distraction, I did not realize
that my expression was being input into an xml document and that I
needed to excape using xml entity refs to pass xml parsing.
Cheers,
Greg
On Fri, Jul 11, 2008 at 11:14 AM, Tom Chiverton
On Wednesday 09 Jul 2008, Greg Hess wrote:
- must not start with .
^[^.]
- must not contain *?/[EMAIL PROTECTED]:
The trick to
[*?/[EMAIL PROTECTED]:]
is to get the escaping correct. \ has to be, for instance.
Try adding additional chars one at a time and resolving as you go.
--
Tom
Hi All,
I am trying to use the RegExpValidator and am having MUCH trouble with
my expression and I think I am using characters that need escaping. I
need to write an expression that is used to restrict an EU specified
file name, the rules are:
- must not start with .
- must not contain
I have a String that will contain camel-case characters that I would like to
add an underscore before each capital letter.
So for example, if I have MyStringName I would like to make it
My_String_Name.
Can anyone help me with the RegEx expression that would do this from a
dynamic String? Thanks
Hi Nick,
I have a String that will contain camel-case characters that I would like to
add an underscore before each capital letter.
var string1:String = SomeCamelCaseString;
var string2:String = string1.replace(/(\w)([A-Z])/g,$1_$2);
--
Jhonny Everson
Thank you SO much! I'm pretty new to Regular expressions, and I had got it
to the point where I could find the capitals, but couldn't figure the rest.
I really appreciate it man.
On Jan 29, 2008 3:04 PM, Jhonny Everson [EMAIL PROTECTED] wrote:
Hi Nick,
I have a String that will contain
6 matches
Mail list logo