Well I need to match anything and everything, including single and double quotes, but it can't match the series "," (read as dbl quote comma dble quote).
So if I have this string (quotes are included in the string): "name":"Big Brown Cow <b>'(--Foot)'</b>","title":"hello" I want to include everything after "name": and before "," I tried an online checker and it says this is correct (?<="name":").*(?=","\w*:) but when I use it, it comes up null. pattern = /(?<="name":").*(?=","\w*:)/i; var resultArr:Array = pattern.exec(data); trace(resultArr); Any suggestions? --- In [email protected], "Manish Jethani" <manish.jeth...@...> wrote: > > On Tue, Jan 13, 2009 at 9:56 AM, flexaustin <flexaus...@...> wrote: > > Does anyone know how to write a regular expression that says find a > > pattern in a String that contains 0 or more letters, numbers, or > > spaces, but not a ", (one double quote and a comma). > > [a-z0-9 ]* > > That will match 0 or more letters, numbers, or spaces (any combination > of those). Since a double-quote or a comma do not fall in any of these > categories (letters, numbers, or spaces), they won't be matched. > > Is that what you're looking for? > > Manish > > -- > http://manishjethani.com >

