CamelCase
Marielle Lange
rp011s7075 at blueyonder.co.uk
Mon Aug 29 12:59:12 EDT 2005
> What's the quickest way to find all the CamelCase words in some
> text - anyone have a regular expression or script for this?
Hi David:
[^A-Za-z][A-Z][a-z]+[A-Z][A-Za-z]*
In words: Any character except an alphabetic one, an uppercase
character, one or more lowercase characters, an uppercase character,
zero or more characters (lower or upper case).
BTW, you have a page on regular expressions in the revolution-
education wiki:
http://revolution.lexicall.org/wiki/tiki-index.php?
page=RegularExpressions
Best,
Marielle
More information about the use-livecode
mailing list