Re: [ACFUG Discuss] regex help
I am a fan of QuickRex: http://www.bastian-bergerhoff.com/eclipse/features/web/QuickREx/toc.html It is a eclipse view that you can test by copying text in a text box and then execute regex against it and it highlights what you regex will cover. Teddy - Original Message - From: "John Mason" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 05, 2007 1:28 PM Subject: RE: [ACFUG Discuss] regex help Is there a good regex testing tool out there. I tend to test straight off my cf code which is cumbersome at times. John [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Tuesday, June 05, 2007 1:15 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] regex help FWIW, this is an untested regex from off the top of my head... -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "[T]he people can always be brought to the bidding of the leaders. This is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country." --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials On Jun 5, 2007, at 1:12 PM, Dean H. Saxe wrote: Don't need the lookarounds Use this regex and save $1 and $3 /( I was actually just looking for a regex solution to parsing up many lines of text, some of which contain urls. And if those url's have a space on the query string to replace those spaces on the query string with the + character. I could use CF but, was trying to just get the regex. Possbly using a lookahead or lookbehind assertion. -Steven On 6/5/07, Ajas Mohammed <[EMAIL PROTECTED]> wrote: do you plan to save the complete url in a variable or just search keyword in a variable? For example varUrl = http://blah.com? search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" or varUrl = "Some Lingering Suspicion" Please clarify. Ajas. On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote: > in this string: > > 15) http://blah.com?search=Some Lingering Suspicion" > target="_blank">"A Lingering Suspicion" > > i want to search for the spaces inside: > > ?search= > > and replace those spaces with + so it should end up looking like this: > > ?search=Some+Lingering+Suspicion > > Can this be done? > > thanks, > > Steven > > > > -- > Steven Ross > web application & interface developer http://www.zerium.com > [mobile] 404-488-4364 [fax] 267-482-4364 > > > - > Annual Sponsor FigLeaf Software - http://www.figleaf.com > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > -- http://ajashadi.blogspot.com No matter what, find a way. Because thats what winners do. - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http:// www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @http:// www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive
Re: [ACFUG Discuss] regex help
RegEx coach -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty and democracy? " --Gandhi On Jun 5, 2007, at 1:28 PM, John Mason wrote: Is there a good regex testing tool out there. I tend to test straight off my cf code which is cumbersome at times. John [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Tuesday, June 05, 2007 1:15 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] regex help FWIW, this is an untested regex from off the top of my head... -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "[T]he people can always be brought to the bidding of the leaders. This is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country." --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials On Jun 5, 2007, at 1:12 PM, Dean H. Saxe wrote: Don't need the lookarounds Use this regex and save $1 and $3 /("What is objectionable, what is dangerous about extremists is not that they are extreme, but that they are intolerant." -- Robert F. Kennedy, 1964 On Jun 5, 2007, at 12:58 PM, Steven Ross wrote: I was actually just looking for a regex solution to parsing up many lines of text, some of which contain urls. And if those url's have a space on the query string to replace those spaces on the query string with the + character. I could use CF but, was trying to just get the regex. Possbly using a lookahead or lookbehind assertion. -Steven On 6/5/07, Ajas Mohammed <[EMAIL PROTECTED]> wrote: do you plan to save the complete url in a variable or just search keyword in a variable? For example varUrl = http://blah.com? search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" or varUrl = "Some Lingering Suspicion" Please clarify. Ajas. On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote: in this string: 15) http://blah.com?search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" i want to search for the spaces inside: ?search= and replace those spaces with + so it should end up looking like this: ?search=Some+Lingering+Suspicion Can this be done? thanks, Steven -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- http://ajashadi.blogspot.com No matter what, find a way. Because thats what winners do. - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http:// www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @http:// www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http:
Re: [ACFUG Discuss] regex help
I use this: http://regexlib.com/RETester.aspx On 6/5/07, John Mason <[EMAIL PROTECTED]> wrote: Is there a good regex testing tool out there. I tend to test straight off my cf code which is cumbersome at times. John [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Tuesday, June 05, 2007 1:15 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] regex help FWIW, this is an untested regex from off the top of my head... -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "[T]he people can always be brought to the bidding of the leaders. This is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country." --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials On Jun 5, 2007, at 1:12 PM, Dean H. Saxe wrote: > Don't need the lookarounds > > Use this regex and save $1 and $3 /( ([^=]+=\S+\s+\S&?)/gx > > Then use this on $2 to replace the spaces s/\s/+/gx. > > Then push $1 and $2 back together to get your whole string. > > That's the perl way... > > -dhs > > > Dean H. Saxe, CISSP, CEH > [EMAIL PROTECTED] > "What is objectionable, what is dangerous about extremists is not that > they are extreme, but that they are intolerant." > -- Robert F. Kennedy, 1964 > > > On Jun 5, 2007, at 12:58 PM, Steven Ross wrote: > >> I was actually just looking for a regex solution to parsing up many >> lines of text, some of which contain urls. And if those url's have a >> space on the query string to replace those spaces on the query string >> with the + character. >> >> I could use CF but, was trying to just get the regex. Possbly using a >> lookahead or lookbehind assertion. >> >> -Steven >> >> On 6/5/07, Ajas Mohammed <[EMAIL PROTECTED]> wrote: >>> do you plan to save the complete url in a variable or just search >>> keyword in a variable? For example varUrl = >> href="http://blah.com? >>> search=Some >>> Lingering Suspicion" target="_blank">"A Lingering Suspicion" or >>> varUrl = "Some Lingering Suspicion" >>> >>> Please clarify. >>> >>> Ajas. >>> >>> >>> On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote: >>> > in this string: >>> > >>> > 15) http://blah.com?search=Some Lingering >>> Suspicion" >>> > target="_blank">"A Lingering Suspicion" >>> > >>> > i want to search for the spaces inside: >>> > >>> > ?search= >>> > >>> > and replace those spaces with + so it should end up looking >>> like this: >>> > >>> > ?search=Some+Lingering+Suspicion >>> > >>> > Can this be done? >>> > >>> > thanks, >>> > >>> > Steven >>> > >>> > >>> > >>> > -- >>> > Steven Ross >>> > web application & interface developer http://www.zerium.com >>> > [mobile] 404-488-4364 [fax] 267-482-4364 >>> > >>> > >>> > >>> - >>> > Annual Sponsor FigLeaf Software - http://www.figleaf.com >>> > >>> > To unsubscribe from this list, manage your profile @ >>> > http://www.acfug.org?fa=login.edituserform >>> > >>> > For more info, see http://www.acfug.org/mailinglists Archive @ >>> http://www.mail-archive.com/discussion%40acfug.org/ >>> > List hosted by http://www.fusionlink.com >>> > >>> - >>> > >>> > >>> > >>> > >>> >>> >>> >>> -- >>> >>> http://ajashadi.blogspot.com >>> No matter what, find a way. Because thats what winners do. >>> - >>> Annual Sponsor - Figleaf Software >>> >>> To unsubscribe from this list, manage your profile @ >>> http://www.acfug.org?fa=login.edituserform >>> >>> For more info, see http://www.acfug.org/mailinglists Archive @ >>> http://www.mail-archive.com/discussion%40acfug.org/ >>> List hosted by FusionLink >>> --
Re: [ACFUG Discuss] regex help
Good luck, the regex might need a bit of tweaking. Also, I didn't anchor it to line beginnings/endings, since I don't know the data format well enough to know if that is an issue for you. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] Here in America everything is bought and sold, you can get anything for little bits of gold. We'll rape the earth and ruin the air, cut down every tree from here to there. -- Donna The Buffalo "America" On Jun 5, 2007, at 1:26 PM, Steven Ross wrote: Thanks dean, I'll give this a shot. On 6/5/07, Dean H. Saxe <[EMAIL PROTECTED]> wrote: Don't need the lookarounds Use this regex and save $1 and $3 /(([^=] +=\S+\s+\S&?)/gx Then use this on $2 to replace the spaces s/\s/+/gx. Then push $1 and $2 back together to get your whole string. That's the perl way... -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "What is objectionable, what is dangerous about extremists is not that they are extreme, but that they are intolerant." -- Robert F. Kennedy, 1964 On Jun 5, 2007, at 12:58 PM, Steven Ross wrote: > I was actually just looking for a regex solution to parsing up many > lines of text, some of which contain urls. And if those url's have a > space on the query string to replace those spaces on the query string > with the + character. > > I could use CF but, was trying to just get the regex. Possbly using a > lookahead or lookbehind assertion. > > -Steven > > On 6/5/07, Ajas Mohammed <[EMAIL PROTECTED]> wrote: >> do you plan to save the complete url in a variable or just search >> keyword in >> a variable? For example varUrl = http://blah.com? >> search=Some >> Lingering Suspicion" target="_blank">"A Lingering Suspicion" >> or varUrl = "Some Lingering Suspicion" >> >> Please clarify. >> >> Ajas. >> >> >> On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote: >> > in this string: >> > >> > 15) http://blah.com?search=Some Lingering >> Suspicion" >> > target="_blank">"A Lingering Suspicion" >> > >> > i want to search for the spaces inside: >> > >> > ?search= >> > >> > and replace those spaces with + so it should end up looking like >> this: >> > >> > ?search=Some+Lingering+Suspicion >> > >> > Can this be done? >> > >> > thanks, >> > >> > Steven >> > >> > >> > >> > -- >> > Steven Ross >> > web application & interface developer >> > http://www.zerium.com >> > [mobile] 404-488-4364 >> > [fax] 267-482-4364 >> > >> > >> > >> - >> > Annual Sponsor FigLeaf Software - http://www.figleaf.com >> > >> > To unsubscribe from this list, manage your profile @ >> > http://www.acfug.org?fa=login.edituserform >> > >> > For more info, see http://www.acfug.org/mailinglists >> > Archive @ >> http://www.mail-archive.com/discussion%40acfug.org/ >> > List hosted by http://www.fusionlink.com >> > >> - >> > >> > >> > >> > >> >> >> >> -- >> >> http://ajashadi.blogspot.com >> No matter what, find a way. Because thats what winners do. >> - >> Annual Sponsor - Figleaf Software >> >> To unsubscribe from this list, manage your profile @ >> http://www.acfug.org?fa=login.edituserform >> >> For more info, see http://www.acfug.org/mailinglists >> Archive @ >> http://www.mail-archive.com/discussion%40acfug.org/ >> List hosted by FusionLink >> - > > > -- > Steven Ross > web application & interface developer > http://www.zerium.com > [mobile] 404-488-4364 > [fax] 267-482-4364 > > > - > Annual Sponsor FigLeaf Software - http://www.figleaf.com > > To unsubscribe from this list, manage your profile @ http:// > www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http:// www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusion
RE: [ACFUG Discuss] regex help
Is there a good regex testing tool out there. I tend to test straight off my cf code which is cumbersome at times. John [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Tuesday, June 05, 2007 1:15 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] regex help FWIW, this is an untested regex from off the top of my head... -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "[T]he people can always be brought to the bidding of the leaders. This is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country." --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials On Jun 5, 2007, at 1:12 PM, Dean H. Saxe wrote: > Don't need the lookarounds > > Use this regex and save $1 and $3 /( ([^=]+=\S+\s+\S&?)/gx > > Then use this on $2 to replace the spaces s/\s/+/gx. > > Then push $1 and $2 back together to get your whole string. > > That's the perl way... > > -dhs > > > Dean H. Saxe, CISSP, CEH > [EMAIL PROTECTED] > "What is objectionable, what is dangerous about extremists is not that > they are extreme, but that they are intolerant." > -- Robert F. Kennedy, 1964 > > > On Jun 5, 2007, at 12:58 PM, Steven Ross wrote: > >> I was actually just looking for a regex solution to parsing up many >> lines of text, some of which contain urls. And if those url's have a >> space on the query string to replace those spaces on the query string >> with the + character. >> >> I could use CF but, was trying to just get the regex. Possbly using a >> lookahead or lookbehind assertion. >> >> -Steven >> >> On 6/5/07, Ajas Mohammed <[EMAIL PROTECTED]> wrote: >>> do you plan to save the complete url in a variable or just search >>> keyword in a variable? For example varUrl = >> href="http://blah.com? >>> search=Some >>> Lingering Suspicion" target="_blank">"A Lingering Suspicion" or >>> varUrl = "Some Lingering Suspicion" >>> >>> Please clarify. >>> >>> Ajas. >>> >>> >>> On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote: >>> > in this string: >>> > >>> > 15) http://blah.com?search=Some Lingering >>> Suspicion" >>> > target="_blank">"A Lingering Suspicion" >>> > >>> > i want to search for the spaces inside: >>> > >>> > ?search= >>> > >>> > and replace those spaces with + so it should end up looking >>> like this: >>> > >>> > ?search=Some+Lingering+Suspicion >>> > >>> > Can this be done? >>> > >>> > thanks, >>> > >>> > Steven >>> > >>> > >>> > >>> > -- >>> > Steven Ross >>> > web application & interface developer http://www.zerium.com >>> > [mobile] 404-488-4364 [fax] 267-482-4364 >>> > >>> > >>> > >>> - >>> > Annual Sponsor FigLeaf Software - http://www.figleaf.com >>> > >>> > To unsubscribe from this list, manage your profile @ >>> > http://www.acfug.org?fa=login.edituserform >>> > >>> > For more info, see http://www.acfug.org/mailinglists Archive @ >>> http://www.mail-archive.com/discussion%40acfug.org/ >>> > List hosted by http://www.fusionlink.com >>> > >>> - >>> > >>> > >>> > >>> > >>> >>> >>> >>> -- >>> >>> http://ajashadi.blogspot.com >>> No matter what, find a way. Because thats what winners do. >>> - >>> Annual Sponsor - Figleaf Software >>> >>> To unsubscribe from this list, manage your profile @ >>> http://www.acfug.org?fa=login.edituserform >>> >>> For more info, see http://www.acfug.org/mailinglists Archive @ >>> http://www.mail-archive.com/discussion%40acfug.org/ >>> List hosted by FusionLink >>> - >> >> >> -- >> Steven Ross >> web application & interface developer
Re: [ACFUG Discuss] regex help
Thanks dean, I'll give this a shot. On 6/5/07, Dean H. Saxe <[EMAIL PROTECTED]> wrote: Don't need the lookarounds Use this regex and save $1 and $3 /( I was actually just looking for a regex solution to parsing up many > lines of text, some of which contain urls. And if those url's have a > space on the query string to replace those spaces on the query string > with the + character. > > I could use CF but, was trying to just get the regex. Possbly using a > lookahead or lookbehind assertion. > > -Steven > > On 6/5/07, Ajas Mohammed <[EMAIL PROTECTED]> wrote: >> do you plan to save the complete url in a variable or just search >> keyword in >> a variable? For example varUrl = http://blah.com? >> search=Some >> Lingering Suspicion" target="_blank">"A Lingering Suspicion" >> or varUrl = "Some Lingering Suspicion" >> >> Please clarify. >> >> Ajas. >> >> >> On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote: >> > in this string: >> > >> > 15) http://blah.com?search=Some Lingering >> Suspicion" >> > target="_blank">"A Lingering Suspicion" >> > >> > i want to search for the spaces inside: >> > >> > ?search= >> > >> > and replace those spaces with + so it should end up looking like >> this: >> > >> > ?search=Some+Lingering+Suspicion >> > >> > Can this be done? >> > >> > thanks, >> > >> > Steven >> > >> > >> > >> > -- >> > Steven Ross >> > web application & interface developer >> > http://www.zerium.com >> > [mobile] 404-488-4364 >> > [fax] 267-482-4364 >> > >> > >> > >> - >> > Annual Sponsor FigLeaf Software - http://www.figleaf.com >> > >> > To unsubscribe from this list, manage your profile @ >> > http://www.acfug.org?fa=login.edituserform >> > >> > For more info, see http://www.acfug.org/mailinglists >> > Archive @ >> http://www.mail-archive.com/discussion%40acfug.org/ >> > List hosted by http://www.fusionlink.com >> > >> - >> > >> > >> > >> > >> >> >> >> -- >> >> http://ajashadi.blogspot.com >> No matter what, find a way. Because thats what winners do. >> - >> Annual Sponsor - Figleaf Software >> >> To unsubscribe from this list, manage your profile @ >> http://www.acfug.org?fa=login.edituserform >> >> For more info, see http://www.acfug.org/mailinglists >> Archive @ >> http://www.mail-archive.com/discussion%40acfug.org/ >> List hosted by FusionLink >> - > > > -- > Steven Ross > web application & interface developer > http://www.zerium.com > [mobile] 404-488-4364 > [fax] 267-482-4364 > > > - > Annual Sponsor FigLeaf Software - http://www.figleaf.com > > To unsubscribe from this list, manage your profile @ http:// > www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] regex help
FWIW, this is an untested regex from off the top of my head... -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "[T]he people can always be brought to the bidding of the leaders. This is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country." --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials On Jun 5, 2007, at 1:12 PM, Dean H. Saxe wrote: Don't need the lookarounds Use this regex and save $1 and $3 /(([^=]+=\S+\s+\S&?)/gx Then use this on $2 to replace the spaces s/\s/+/gx. Then push $1 and $2 back together to get your whole string. That's the perl way... -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "What is objectionable, what is dangerous about extremists is not that they are extreme, but that they are intolerant." -- Robert F. Kennedy, 1964 On Jun 5, 2007, at 12:58 PM, Steven Ross wrote: I was actually just looking for a regex solution to parsing up many lines of text, some of which contain urls. And if those url's have a space on the query string to replace those spaces on the query string with the + character. I could use CF but, was trying to just get the regex. Possbly using a lookahead or lookbehind assertion. -Steven On 6/5/07, Ajas Mohammed <[EMAIL PROTECTED]> wrote: do you plan to save the complete url in a variable or just search keyword in a variable? For example varUrl = http://blah.com? search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" or varUrl = "Some Lingering Suspicion" Please clarify. Ajas. On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote: > in this string: > > 15) http://blah.com?search=Some Lingering Suspicion" > target="_blank">"A Lingering Suspicion" > > i want to search for the spaces inside: > > ?search= > > and replace those spaces with + so it should end up looking like this: > > ?search=Some+Lingering+Suspicion > > Can this be done? > > thanks, > > Steven > > > > -- > Steven Ross > web application & interface developer > http://www.zerium.com > [mobile] 404-488-4364 > [fax] 267-482-4364 > > > - > Annual Sponsor FigLeaf Software - http://www.figleaf.com > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > -- http://ajashadi.blogspot.com No matter what, find a way. Because thats what winners do. - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http:// www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @http:// www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] regex help
Don't need the lookarounds Use this regex and save $1 and $3 /(+=\S+\s+\S&?)/gx Then use this on $2 to replace the spaces s/\s/+/gx. Then push $1 and $2 back together to get your whole string. That's the perl way... -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "What is objectionable, what is dangerous about extremists is not that they are extreme, but that they are intolerant." -- Robert F. Kennedy, 1964 On Jun 5, 2007, at 12:58 PM, Steven Ross wrote: I was actually just looking for a regex solution to parsing up many lines of text, some of which contain urls. And if those url's have a space on the query string to replace those spaces on the query string with the + character. I could use CF but, was trying to just get the regex. Possbly using a lookahead or lookbehind assertion. -Steven On 6/5/07, Ajas Mohammed <[EMAIL PROTECTED]> wrote: do you plan to save the complete url in a variable or just search keyword in a variable? For example varUrl = http://blah.com? search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" or varUrl = "Some Lingering Suspicion" Please clarify. Ajas. On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote: > in this string: > > 15) http://blah.com?search=Some Lingering Suspicion" > target="_blank">"A Lingering Suspicion" > > i want to search for the spaces inside: > > ?search= > > and replace those spaces with + so it should end up looking like this: > > ?search=Some+Lingering+Suspicion > > Can this be done? > > thanks, > > Steven > > > > -- > Steven Ross > web application & interface developer > http://www.zerium.com > [mobile] 404-488-4364 > [fax] 267-482-4364 > > > - > Annual Sponsor FigLeaf Software - http://www.figleaf.com > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > -- http://ajashadi.blogspot.com No matter what, find a way. Because thats what winners do. - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http:// www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] regex help
I was actually just looking for a regex solution to parsing up many lines of text, some of which contain urls. And if those url's have a space on the query string to replace those spaces on the query string with the + character. I could use CF but, was trying to just get the regex. Possbly using a lookahead or lookbehind assertion. -Steven On 6/5/07, Ajas Mohammed <[EMAIL PROTECTED]> wrote: do you plan to save the complete url in a variable or just search keyword in a variable? For example varUrl = http://blah.com?search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" or varUrl = "Some Lingering Suspicion" Please clarify. Ajas. On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote: > in this string: > > 15) http://blah.com?search=Some Lingering Suspicion" > target="_blank">"A Lingering Suspicion" > > i want to search for the spaces inside: > > ?search= > > and replace those spaces with + so it should end up looking like this: > > ?search=Some+Lingering+Suspicion > > Can this be done? > > thanks, > > Steven > > > > -- > Steven Ross > web application & interface developer > http://www.zerium.com > [mobile] 404-488-4364 > [fax] 267-482-4364 > > > - > Annual Sponsor FigLeaf Software - http://www.figleaf.com > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > -- http://ajashadi.blogspot.com No matter what, find a way. Because thats what winners do. - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] regex help
That would work if it was in the query string. He's trying to URL encode a query string as part of a larger string... not the query string he's receiving. But honestly it shouldn't be necessary, since most (all?) clients will handle that for you. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "What is objectionable, what is dangerous about extremists is not that they are extreme, but that they are intolerant." -- Robert F. Kennedy, 1964 On Jun 5, 2007, at 12:46 PM, Jeff Howard wrote: I used to have to do regular expression stuff a lot (and in a language called Vortex/Texis web-script) but haven't lately. My best guess is: REReplace (CGI.Query_String, " ", "+","ALL") or if it is URLEncoded REReplace(URLDecode(CGI.Query_String), " ", "+","ALL") think that'll do it but haven't used much regular expression in CF. On 6/5/07, Steven Ross <[EMAIL PROTECTED]> wrote: in this string: 15) http://blah.com?search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" i want to search for the spaces inside: ?search=Some Lingering Suspicion and replace those spaces with + so it should end up looking like this: ?search=Some+Lingering+Suspicion Can this be done? thanks, Steven -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] regex help
I used to have to do regular expression stuff a lot (and in a language called Vortex/Texis web-script) but haven't lately. My best guess is: REReplace (CGI.Query_String, " ", "+","ALL") or if it is URLEncoded REReplace(URLDecode(CGI.Query_String), " ", "+","ALL") think that'll do it but haven't used much regular expression in CF. On 6/5/07, Steven Ross <[EMAIL PROTECTED]> wrote: in this string: 15) http://blah.com?search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" i want to search for the spaces inside: ?search=Some Lingering Suspicion and replace those spaces with + so it should end up looking like this: ?search=Some+Lingering+Suspicion Can this be done? thanks, Steven -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] regex help
do you plan to save the complete url in a variable or just search keyword in a variable? For example varUrl = http://blah.com?search=SomeLingering Suspicion" target="_blank">"A Lingering Suspicion" or varUrl = "Some Lingering Suspicion" Please clarify. Ajas. On 6/5/07, Steven Ross <[EMAIL PROTECTED]> wrote: in this string: 15) http://blah.com?search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" i want to search for the spaces inside: ?search= and replace those spaces with + so it should end up looking like this: ?search=Some+Lingering+Suspicion Can this be done? thanks, Steven -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- http://ajashadi.blogspot.com No matter what, find a way. Because thats what winners do. - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] regex help
in this string: 15) http://blah.com?search=Some Lingering Suspicion" target="_blank">"A Lingering Suspicion" i want to search for the spaces inside: ?search=Some Lingering Suspicion and replace those spaces with + so it should end up looking like this: ?search=Some+Lingering+Suspicion Can this be done? thanks, Steven -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 267-482-4364 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] regex help
I should be able to do this... but its beating me up and im no masochist so here it is: this is my string (its the cookie in a cfhttp call and i need to pass it back in): BIGipServerupower_proc_pool=2932677656.6145.; path=/ and i want to just get this via regex: 2932677656.6145. thanks, Steven -- Steven Ross web application & interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: re[2]: [ACFUG Discuss] Regex help
Awesome suggestions, thanks for all the info. Will be visiting Barnes and Nobles this weekend to see what they in stock. :-) Thanks JLW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart Sent: Thursday, August 10, 2006 11:29 To: discussion@acfug.org Subject: RE: re[2]: [ACFUG Discuss] Regex help Yes, Ben Forta did "Teach Yourself Regular Expressions In 10 Minutes" and I can recommend it. There are also many resources available online. Just google "regular expressions" and the first few that come up look quite good. There are also many tools that can help you build regular expressions easily. I'll make note to create a resource listing many of them (someday), if someone doesn't already know of one. /charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Thursday, August 10, 2006 11:09 AM To: discussion@acfug.org Subject: Re: re[2]: [ACFUG Discuss] Regex help Jason, First start with one of the RegEx in 10 minutes a day type books. I think there is one from Sams Publishing. If you want to be a serious geek, Regular Expressions by Jeffrey Friedl from O'Reilly rocks. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 10, 2006, at 10:58 AM, West, Jason wrote: > OT: Can you all suggest a good book that would give a better > understanding on regular expression programming? > > > > Thanks > > > > JLW > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy > Payne > Sent: Monday, August 07, 2006 15:52 > To: discussion@acfug.org > Subject: Re: re[2]: [ACFUG Discuss] Regex help > > > > I think what Dean is suggesting here is that it is wiser to validate > both from the server and the client. The server validation being more > reliable than the client. This is a well adopted paradigm and Dean > helps us remember this. > > Also, MITM = Man In The Middle, which is a type of attack that can be > used to attack a web site as a way to change data that would alter the > normal behavior of the application. > > Dean is very security conscious through profession and paranoia, which > is not a bad thing. In the normal development process, it is always > recommended to consider ways that your application can be altered. > > For this given situation, one recommendation for removing the ability > to perform a SQL injection attack is to use the or > tag when inserting data. These tags will throw > exceptions if the datatypes do not match. > > If this topic is of interest to other people, we should have Dean > present application security again. I attended oen of his > presentation before at ACFUG and it was a good primer for many types > of attacks. > > Cheers > > > On 8/7/06, Dean H. Saxe <[EMAIL PROTECTED]> wrote: > > Say you want to find your string and its 10 to 12 characters in the > hexadecimal character set. You can validate your data with: > > [A-F0-9]{10,12} > > This will match any hexadecimal number with a minimum of 10 chars and > a maximum of 12. Its a positive way of doing data validation on your > string. > > -dhs > > > Dean H. Saxe, CISSP, CEH > [EMAIL PROTECTED] > "If liberty means anything at all, it means the right to tell people > what they do not want to hear." > -- George Orwell, 1945 > > > On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote: > > > Thanks! The piece that I was missing was the not (^) :) > > > > > > Dean, this expression rereplace(mystring, "[^A-F0-9]", "", "all") > > filters out all the unwanted characters. What does "{min},{max}" do? > > Mischa. > > > > > > > > > >> actually he would need this: > > > > rereplace(string, "[^a-fA-F0-9]", "", all); > > > > > > On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: > > rereplace(string, "[^A-F0-9]", "", all); > > > > But if you're trying to do data validation, why wouldn't you throw > > out any data that doesn't match the regex [A-F0-9]{min,max}? > > > > -dhs > > > > > > Dean H. Saxe, CISSP, CEH > > [EMAIL PROTECTED] > > "If liberty means anything at all, it means the right to tell people > > what they do not want to hear." > > -- George Orwell, 1945 > > > > > > On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10
Re: re[2]: [ACFUG Discuss] Regex help
The RegEx Coach http://weitz.de/regex-coach/ -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "Dissent is the purest form of patriotism." --Thomas Jefferson On Aug 10, 2006, at 11:29 AM, Charlie Arehart wrote: Yes, Ben Forta did "Teach Yourself Regular Expressions In 10 Minutes" and I can recommend it. There are also many resources available online. Just google "regular expressions" and the first few that come up look quite good. There are also many tools that can help you build regular expressions easily. I'll make note to create a resource listing many of them (someday), if someone doesn't already know of one. /charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Thursday, August 10, 2006 11:09 AM To: discussion@acfug.org Subject: Re: re[2]: [ACFUG Discuss] Regex help Jason, First start with one of the RegEx in 10 minutes a day type books. I think there is one from Sams Publishing. If you want to be a serious geek, Regular Expressions by Jeffrey Friedl from O'Reilly rocks. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 10, 2006, at 10:58 AM, West, Jason wrote: OT: Can you all suggest a good book that would give a better understanding on regular expression programming? Thanks JLW From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne Sent: Monday, August 07, 2006 15:52 To: discussion@acfug.org Subject: Re: re[2]: [ACFUG Discuss] Regex help I think what Dean is suggesting here is that it is wiser to validate both from the server and the client. The server validation being more reliable than the client. This is a well adopted paradigm and Dean helps us remember this. Also, MITM = Man In The Middle, which is a type of attack that can be used to attack a web site as a way to change data that would alter the normal behavior of the application. Dean is very security conscious through profession and paranoia, which is not a bad thing. In the normal development process, it is always recommended to consider ways that your application can be altered. For this given situation, one recommendation for removing the ability to perform a SQL injection attack is to use the or tag when inserting data. These tags will throw exceptions if the datatypes do not match. If this topic is of interest to other people, we should have Dean present application security again. I attended oen of his presentation before at ACFUG and it was a good primer for many types of attacks. Cheers On 8/7/06, Dean H. Saxe <[EMAIL PROTECTED]> wrote: Say you want to find your string and its 10 to 12 characters in the hexadecimal character set. You can validate your data with: [A-F0-9]{10,12} This will match any hexadecimal number with a minimum of 10 chars and a maximum of 12. Its a positive way of doing data validation on your string. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote: Thanks! The piece that I was missing was the not (^) :) Dean, this expression rereplace(mystring, "[^A-F0-9]", "", "all") filters out all the unwanted characters. What does "{min},{max}" do? Mischa. actually he would need this: rereplace(string, "[^a-fA-F0-9]", "", all); On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: rereplace(string, "[^A-F0-9]", "", all); But if you're trying to do data validation, why wouldn't you throw out any data that doesn't match the regex [A-F0-9]{min,max}? -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: I can figure out how to remove a number of disallowed characters from a string, but what if I want to include only a-f and 0-9 and discard everything else? so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing if a user supplies E97152C6CF1DD198DE9;hackcode; it is supposed to return: E97152C6CF1DD198DE9accde Is that possible with a single regex? Or will I have to cycle through the string, and replace every character that doesn't match [a-f]|[0-9] with nothing? Thanks! Mischa, - To unsubscribe from this list, manage your pr
RE: re[2]: [ACFUG Discuss] Regex help
Yes, Ben Forta did "Teach Yourself Regular Expressions In 10 Minutes" and I can recommend it. There are also many resources available online. Just google "regular expressions" and the first few that come up look quite good. There are also many tools that can help you build regular expressions easily. I'll make note to create a resource listing many of them (someday), if someone doesn't already know of one. /charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Thursday, August 10, 2006 11:09 AM To: discussion@acfug.org Subject: Re: re[2]: [ACFUG Discuss] Regex help Jason, First start with one of the RegEx in 10 minutes a day type books. I think there is one from Sams Publishing. If you want to be a serious geek, Regular Expressions by Jeffrey Friedl from O'Reilly rocks. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 10, 2006, at 10:58 AM, West, Jason wrote: > OT: Can you all suggest a good book that would give a better > understanding on regular expression programming? > > > > Thanks > > > > JLW > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy > Payne > Sent: Monday, August 07, 2006 15:52 > To: discussion@acfug.org > Subject: Re: re[2]: [ACFUG Discuss] Regex help > > > > I think what Dean is suggesting here is that it is wiser to validate > both from the server and the client. The server validation being more > reliable than the client. This is a well adopted paradigm and Dean > helps us remember this. > > Also, MITM = Man In The Middle, which is a type of attack that can be > used to attack a web site as a way to change data that would alter the > normal behavior of the application. > > Dean is very security conscious through profession and paranoia, which > is not a bad thing. In the normal development process, it is always > recommended to consider ways that your application can be altered. > > For this given situation, one recommendation for removing the ability > to perform a SQL injection attack is to use the or > tag when inserting data. These tags will throw > exceptions if the datatypes do not match. > > If this topic is of interest to other people, we should have Dean > present application security again. I attended oen of his > presentation before at ACFUG and it was a good primer for many types > of attacks. > > Cheers > > > On 8/7/06, Dean H. Saxe <[EMAIL PROTECTED]> wrote: > > Say you want to find your string and its 10 to 12 characters in the > hexadecimal character set. You can validate your data with: > > [A-F0-9]{10,12} > > This will match any hexadecimal number with a minimum of 10 chars and > a maximum of 12. Its a positive way of doing data validation on your > string. > > -dhs > > > Dean H. Saxe, CISSP, CEH > [EMAIL PROTECTED] > "If liberty means anything at all, it means the right to tell people > what they do not want to hear." > -- George Orwell, 1945 > > > On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote: > > > Thanks! The piece that I was missing was the not (^) :) > > > > > > Dean, this expression rereplace(mystring, "[^A-F0-9]", "", "all") > > filters out all the unwanted characters. What does "{min},{max}" do? > > Mischa. > > > > > > > > > >> actually he would need this: > > > > rereplace(string, "[^a-fA-F0-9]", "", all); > > > > > > On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: > > rereplace(string, "[^A-F0-9]", "", all); > > > > But if you're trying to do data validation, why wouldn't you throw > > out any data that doesn't match the regex [A-F0-9]{min,max}? > > > > -dhs > > > > > > Dean H. Saxe, CISSP, CEH > > [EMAIL PROTECTED] > > "If liberty means anything at all, it means the right to tell people > > what they do not want to hear." > > -- George Orwell, 1945 > > > > > > On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > > > >> I can figure out how to remove a number of disallowed characters > >> from a string, but what if I want to include only a-f and 0-9 and > >> discard everything else? > >> > >> so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing > >> if a user supplies E97152C6CF
Re: re[2]: [ACFUG Discuss] Regex help
http://www.amazon.com/gp/product/0672325667/002-0166281-3017656?v=glance&n=283155 On 8/10/06, Steven Ross <[EMAIL PROTECTED]> wrote: I liked the sams teach yourself regex book written by ben forta. Basic primer and good examples.On 8/10/06, West, Jason < [EMAIL PROTECTED]> wrote: OT: Can you all suggest a good book that would give a better understanding on regular _expression_ programming? Thanks JLW From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Teddy Payne Sent: Monday, August 07, 2006 15:52 To: discussion@acfug.org Subject: Re: re[2]: [ACFUG Discuss] Regex help I think what Dean is suggesting here is that it is wiser to validate both from the server and the client. The server validation being more reliable than the client. This is a well adopted paradigm and Dean helps us remember this. Also, MITM = Man In The Middle, which is a type of attack that can be used to attack a web site as a way to change data that would alter the normal behavior of the application. Dean is very security conscious through profession and paranoia, which is not a bad thing. In the normal development process, it is always recommended to consider ways that your application can be altered. For this given situation, one recommendation for removing the ability to perform a SQL injection attack is to use the or tag when inserting data. These tags will throw exceptions if the datatypes do not match. If this topic is of interest to other people, we should have Dean present application security again. I attended oen of his presentation before at ACFUG and it was a good primer for many types of attacks. Cheers On 8/7/06, Dean H. Saxe <[EMAIL PROTECTED]> wrote: Say you want to find your string and its 10 to 12 characters in the hexadecimal character set. You can validate your data with: [A-F0-9]{10,12} This will match any hexadecimal number with a minimum of 10 chars and a maximum of 12. Its a positive way of doing data validation on your string. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote: > Thanks! The piece that I was missing was the not (^) :) > > > Dean, this _expression_ rereplace(mystring, "[^A-F0-9]", "", "all") > filters out all the unwanted characters. What does "{min},{max}" do? > Mischa. > > > > >> actually he would need this: > > rereplace(string, "[^a-fA-F0-9]", "", all); > > > On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: > rereplace(string, "[^A-F0-9]", "", all); > > But if you're trying to do data validation, why wouldn't you throw > out any data that doesn't match the regex [A-F0-9]{min,max}? > > -dhs > > > Dean H. Saxe, CISSP, CEH > [EMAIL PROTECTED] > "If liberty means anything at all, it means the right to tell people > what they do not want to hear." > -- George Orwell, 1945 > > > On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > >> I can figure out how to remove a number of disallowed characters >> from a string, but what if I want to include only a-f and 0-9 and >> discard everything else? >> >> so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing >> if a user supplies E97152C6CF1DD198DE9;hackcode; >> >> it is supposed to return: E97152C6CF1DD198DE9accde >> >> Is that possible with a single regex? Or will I have to cycle >> through the string, and replace every character that doesn't match >> [a-f]|[0-9] with nothing? >> >> Thanks! >> Mischa, >> >> >> >> - >> To unsubscribe from this list, manage your profile @ >> http://www.acfug.org?fa >> For more info, see http://www.acfug.org/mailinglists >> Archive @ http://www.mail-archive.com/discussion%40acfug.org/ >> List hosted by http://www.fusionlink.com >> - >> >> >> >> > > > > - > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > > > > > -- > Steven Ross > web application & interface
Re: re[2]: [ACFUG Discuss] Regex help
I liked the sams teach yourself regex book written by ben forta. Basic primer and good examples.On 8/10/06, West, Jason < [EMAIL PROTECTED]> wrote: OT: Can you all suggest a good book that would give a better understanding on regular _expression_ programming? Thanks JLW From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Teddy Payne Sent: Monday, August 07, 2006 15:52 To: discussion@acfug.org Subject: Re: re[2]: [ACFUG Discuss] Regex help I think what Dean is suggesting here is that it is wiser to validate both from the server and the client. The server validation being more reliable than the client. This is a well adopted paradigm and Dean helps us remember this. Also, MITM = Man In The Middle, which is a type of attack that can be used to attack a web site as a way to change data that would alter the normal behavior of the application. Dean is very security conscious through profession and paranoia, which is not a bad thing. In the normal development process, it is always recommended to consider ways that your application can be altered. For this given situation, one recommendation for removing the ability to perform a SQL injection attack is to use the or tag when inserting data. These tags will throw exceptions if the datatypes do not match. If this topic is of interest to other people, we should have Dean present application security again. I attended oen of his presentation before at ACFUG and it was a good primer for many types of attacks. Cheers On 8/7/06, Dean H. Saxe <[EMAIL PROTECTED]> wrote: Say you want to find your string and its 10 to 12 characters in the hexadecimal character set. You can validate your data with: [A-F0-9]{10,12} This will match any hexadecimal number with a minimum of 10 chars and a maximum of 12. Its a positive way of doing data validation on your string. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote: > Thanks! The piece that I was missing was the not (^) :) > > > Dean, this _expression_ rereplace(mystring, "[^A-F0-9]", "", "all") > filters out all the unwanted characters. What does "{min},{max}" do? > Mischa. > > > > >> actually he would need this: > > rereplace(string, "[^a-fA-F0-9]", "", all); > > > On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: > rereplace(string, "[^A-F0-9]", "", all); > > But if you're trying to do data validation, why wouldn't you throw > out any data that doesn't match the regex [A-F0-9]{min,max}? > > -dhs > > > Dean H. Saxe, CISSP, CEH > [EMAIL PROTECTED] > "If liberty means anything at all, it means the right to tell people > what they do not want to hear." > -- George Orwell, 1945 > > > On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > >> I can figure out how to remove a number of disallowed characters >> from a string, but what if I want to include only a-f and 0-9 and >> discard everything else? >> >> so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing >> if a user supplies E97152C6CF1DD198DE9;hackcode; >> >> it is supposed to return: E97152C6CF1DD198DE9accde >> >> Is that possible with a single regex? Or will I have to cycle >> through the string, and replace every character that doesn't match >> [a-f]|[0-9] with nothing? >> >> Thanks! >> Mischa, >> >> >> >> - >> To unsubscribe from this list, manage your profile @ >> http://www.acfug.org?fa >> For more info, see http://www.acfug.org/mailinglists >> Archive @ http://www.mail-archive.com/discussion%40acfug.org/ >> List hosted by http://www.fusionlink.com >> - >> >> >> >> > > > > - > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > > > > > -- > Steven Ross > web application & interface developer > http://www.zerium.com > [phone] 404-488-4364 > ---
Re: re[2]: [ACFUG Discuss] Regex help
Jason, First start with one of the RegEx in 10 minutes a day type books. I think there is one from Sams Publishing. If you want to be a serious geek, Regular Expressions by Jeffrey Friedl from O'Reilly rocks. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 10, 2006, at 10:58 AM, West, Jason wrote: OT: Can you all suggest a good book that would give a better understanding on regular expression programming? Thanks JLW From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne Sent: Monday, August 07, 2006 15:52 To: discussion@acfug.org Subject: Re: re[2]: [ACFUG Discuss] Regex help I think what Dean is suggesting here is that it is wiser to validate both from the server and the client. The server validation being more reliable than the client. This is a well adopted paradigm and Dean helps us remember this. Also, MITM = Man In The Middle, which is a type of attack that can be used to attack a web site as a way to change data that would alter the normal behavior of the application. Dean is very security conscious through profession and paranoia, which is not a bad thing. In the normal development process, it is always recommended to consider ways that your application can be altered. For this given situation, one recommendation for removing the ability to perform a SQL injection attack is to use the or tag when inserting data. These tags will throw exceptions if the datatypes do not match. If this topic is of interest to other people, we should have Dean present application security again. I attended oen of his presentation before at ACFUG and it was a good primer for many types of attacks. Cheers On 8/7/06, Dean H. Saxe <[EMAIL PROTECTED]> wrote: Say you want to find your string and its 10 to 12 characters in the hexadecimal character set. You can validate your data with: [A-F0-9]{10,12} This will match any hexadecimal number with a minimum of 10 chars and a maximum of 12. Its a positive way of doing data validation on your string. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote: > Thanks! The piece that I was missing was the not (^) :) > > > Dean, this expression rereplace(mystring, "[^A-F0-9]", "", "all") > filters out all the unwanted characters. What does "{min},{max}" do? > Mischa. > > > > >> actually he would need this: > > rereplace(string, "[^a-fA-F0-9]", "", all); > > > On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: > rereplace(string, "[^A-F0-9]", "", all); > > But if you're trying to do data validation, why wouldn't you throw > out any data that doesn't match the regex [A-F0-9]{min,max}? > > -dhs > > > Dean H. Saxe, CISSP, CEH > [EMAIL PROTECTED] > "If liberty means anything at all, it means the right to tell people > what they do not want to hear." > -- George Orwell, 1945 > > > On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > >> I can figure out how to remove a number of disallowed characters >> from a string, but what if I want to include only a-f and 0-9 and >> discard everything else? >> >> so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing >> if a user supplies E97152C6CF1DD198DE9;hackcode; >> >> it is supposed to return: E97152C6CF1DD198DE9accde >> >> Is that possible with a single regex? Or will I have to cycle >> through the string, and replace every character that doesn't match >> [a-f]|[0-9] with nothing? >> >> Thanks! >> Mischa, >> >> >> >> - >> To unsubscribe from this list, manage your profile @ >> http://www.acfug.org?fa >> For more info, see http://www.acfug.org/mailinglists >> Archive @ http://www.mail-archive.com/discussion%40acfug.org/ >> List hosted by http://www.fusionlink.com >> - >> >> >> >> > > > > - > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > -
RE: re[2]: [ACFUG Discuss] Regex help
OT: Can you all suggest a good book that would give a better understanding on regular _expression_ programming? Thanks JLW From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne Sent: Monday, August 07, 2006 15:52 To: discussion@acfug.org Subject: Re: re[2]: [ACFUG Discuss] Regex help I think what Dean is suggesting here is that it is wiser to validate both from the server and the client. The server validation being more reliable than the client. This is a well adopted paradigm and Dean helps us remember this. Also, MITM = Man In The Middle, which is a type of attack that can be used to attack a web site as a way to change data that would alter the normal behavior of the application. Dean is very security conscious through profession and paranoia, which is not a bad thing. In the normal development process, it is always recommended to consider ways that your application can be altered. For this given situation, one recommendation for removing the ability to perform a SQL injection attack is to use the or tag when inserting data. These tags will throw exceptions if the datatypes do not match. If this topic is of interest to other people, we should have Dean present application security again. I attended oen of his presentation before at ACFUG and it was a good primer for many types of attacks. Cheers On 8/7/06, Dean H. Saxe <[EMAIL PROTECTED]> wrote: Say you want to find your string and its 10 to 12 characters in the hexadecimal character set. You can validate your data with: [A-F0-9]{10,12} This will match any hexadecimal number with a minimum of 10 chars and a maximum of 12. Its a positive way of doing data validation on your string. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote: > Thanks! The piece that I was missing was the not (^) :) > > > Dean, this _expression_ rereplace(mystring, "[^A-F0-9]", "", "all") > filters out all the unwanted characters. What does "{min},{max}" do? > Mischa. > > > > >> actually he would need this: > > rereplace(string, "[^a-fA-F0-9]", "", all); > > > On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: > rereplace(string, "[^A-F0-9]", "", all); > > But if you're trying to do data validation, why wouldn't you throw > out any data that doesn't match the regex [A-F0-9]{min,max}? > > -dhs > > > Dean H. Saxe, CISSP, CEH > [EMAIL PROTECTED] > "If liberty means anything at all, it means the right to tell people > what they do not want to hear." > -- George Orwell, 1945 > > > On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > >> I can figure out how to remove a number of disallowed characters >> from a string, but what if I want to include only a-f and 0-9 and >> discard everything else? >> >> so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing >> if a user supplies E97152C6CF1DD198DE9;hackcode; >> >> it is supposed to return: E97152C6CF1DD198DE9accde >> >> Is that possible with a single regex? Or will I have to cycle >> through the string, and replace every character that doesn't match >> [a-f]|[0-9] with nothing? >> >> Thanks! >> Mischa, >> >> >> >> - >> To unsubscribe from this list, manage your profile @ >> http://www.acfug.org?fa >> For more info, see http://www.acfug.org/mailinglists >> Archive @ http://www.mail-archive.com/discussion%40acfug.org/ >> List hosted by http://www.fusionlink.com >> - >> >> >> >> > > > > - > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > > > > > -- > Steven Ross > web application & interface developer > http://www.zerium.com > [phone] 404-488-4364 > - > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more inf
Re: re[2]: [ACFUG Discuss] Regex help
I think what Dean is suggesting here is that it is wiser to validate both from the server and the client. The server validation being more reliable than the client. This is a well adopted paradigm and Dean helps us remember this. Also, MITM = Man In The Middle, which is a type of attack that can be used to attack a web site as a way to change data that would alter the normal behavior of the application.Dean is very security conscious through profession and paranoia, which is not a bad thing. In the normal development process, it is always recommended to consider ways that your application can be altered. For this given situation, one recommendation for removing the ability to perform a SQL injection attack is to use the or tag when inserting data. These tags will throw exceptions if the datatypes do not match. If this topic is of interest to other people, we should have Dean present application security again. I attended oen of his presentation before at ACFUG and it was a good primer for many types of attacks. CheersOn 8/7/06, Dean H. Saxe <[EMAIL PROTECTED]> wrote: Say you want to find your string and its 10 to 12 characters in thehexadecimal character set. You can validate your data with:[A-F0-9]{10,12}This will match any hexadecimal number with a minimum of 10 chars and a maximum of 12. Its a positive way of doing data validation on yourstring.-dhsDean H. Saxe, CISSP, CEH[EMAIL PROTECTED]"If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote:> Thanks! The piece that I was missing was the not (^) :)> >> Dean, this _expression_ rereplace(mystring, "[^A-F0-9]", "", "all")> filters out all the unwanted characters. What does "{min},{max}" do?> Mischa.> > actually he would need this:>> rereplace(string, "[^a-fA-F0-9]", "", all);>>> On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote:> rereplace(string, "[^A-F0-9]", "", all);>> But if you're trying to do data validation, why wouldn't you throw> out any data that doesn't match the regex [A-F0-9]{min,max}? >> -dhs>>> Dean H. Saxe, CISSP, CEH> [EMAIL PROTECTED]> "If liberty means anything at all, it means the right to tell people > what they do not want to hear."> -- George Orwell, 1945>>> On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote:>>> I can figure out how to remove a number of disallowed characters >> from a string, but what if I want to include only a-f and 0-9 and>> discard everything else? so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing>> if a user supplies E97152C6CF1DD198DE9;hackcode; it is supposed to return: E97152C6CF1DD198DE9accde Is that possible with a single regex? Or will I have to cycle>> through the string, and replace every character that doesn't match >> [a-f]|[0-9] with nothing? Thanks!>> Mischa, ->> To unsubscribe from this list, manage your profile @ >> http://www.acfug.org?fa>> For more info, see http://www.acfug.org/mailinglists>> Archive @ http://www.mail-archive.com/discussion%40acfug.org/>> List hosted by http://www.fusionlink.com>> - -> To unsubscribe from this list, manage your profile @> http://www.acfug.org?fa=login.edituserform>> For more info, see http://www.acfug.org/mailinglists> Archive @ http://www.mail-archive.com/discussion%40acfug.org/> List hosted by http://www.fusionlink.com> -> >>> --> Steven Ross> web application & interface developer> http://www.zerium.com> [phone] 404-488-4364 > -> To unsubscribe from this list, manage your profile @> http://www.acfug.org?fa=login.edituserform >> For more info, see http://www.acfug.org/mailinglists> Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by FusionLink> - < Mischa Uppelschoten> The Banker's Exchange, Inc.> 2020 Hills Avenue NW > Atlanta, GA 30318>> Phone:(404) 605-0100 ext. 10> Fax:(404) 355-7930> Web:www.BankersX.com> Follow this link for Instant Web Chat: > http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - > To unsubscribe from this list, manage your profile @> http://www.acfug.org?fa> For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/> List hosted by http://www.fusionlink.com > --To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserformFor mo
Re: re[2]: [ACFUG Discuss] Regex help
Say you want to find your string and its 10 to 12 characters in the hexadecimal character set. You can validate your data with: [A-F0-9]{10,12} This will match any hexadecimal number with a minimum of 10 chars and a maximum of 12. Its a positive way of doing data validation on your string. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 2:30 PM, Mischa Uppelschoten ext 10 wrote: Thanks! The piece that I was missing was the not (^) :) Dean, this expression rereplace(mystring, "[^A-F0-9]", "", "all") filters out all the unwanted characters. What does "{min},{max}" do? Mischa. actually he would need this: rereplace(string, "[^a-fA-F0-9]", "", all); On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: rereplace(string, "[^A-F0-9]", "", all); But if you're trying to do data validation, why wouldn't you throw out any data that doesn't match the regex [A-F0-9]{min,max}? -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: I can figure out how to remove a number of disallowed characters from a string, but what if I want to include only a-f and 0-9 and discard everything else? so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing if a user supplies E97152C6CF1DD198DE9;hackcode; it is supposed to return: E97152C6CF1DD198DE9accde Is that possible with a single regex? Or will I have to cycle through the string, and replace every character that doesn't match [a-f]|[0-9] with nothing? Thanks! Mischa, - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application & interface developer http://www.zerium.com [phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - < Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
re[2]: [ACFUG Discuss] Regex help
Thanks! The piece that I was missing was the not (^) :) Dean, this expression rereplace(mystring, "[^A-F0-9]", "", "all") filters out all the unwanted characters. What does "{min},{max}" do? Mischa. > actually he would need this: rereplace(string, "[^a-fA-F0-9]", "", all); On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: rereplace(string, "[^A-F0-9]", "", all); But if you're trying to do data validation, why wouldn't you throw out any data that doesn't match the regex [A-F0-9]{min,max}? -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > I can figure out how to remove a number of disallowed characters > from a string, but what if I want to include only a-f and 0-9 and > discard everything else? > > so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing > if a user supplies E97152C6CF1DD198DE9;hackcode; > > it is supposed to return: E97152C6CF1DD198DE9accde > > Is that possible with a single regex? Or will I have to cycle > through the string, and replace every character that doesn't match > [a-f]|[0-9] with nothing? > > Thanks! > Mischa, > > > > - > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application & interface developer http://www.zerium.com [phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - < Mischa Uppelschoten The Banker's Exchange, Inc. 2020 Hills Avenue NW Atlanta, GA 30318 Phone:(404) 605-0100 ext. 10 Fax:(404) 355-7930 Web:www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Regex help
Flash can be decompiled or you can write your own client. Or use a MITM proxy to modify the data. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "[T]he people can always be brought to the bidding of the leaders. This is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country." --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials On Aug 7, 2006, at 12:56 PM, Teddy Payne wrote: Steven beat me to that one. I was just typing that. Also, it depends on how you implement your form as well. If you use HTML forms and non-flash form with regex validation, then you have javascript that can be turned off. Now if you implement a flash form, I believe the validation stays internal and not rendered as javascript. I believe the flash form SWF valdiation cannot be turned off from the browser's VM. Correct me if I am wrong Dean. Teddy On 8/7/06, Steven Ross <[EMAIL PROTECTED]> wrote: actually he would need this: rereplace(string, "[^a-fA-F0-9]", "", all); On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote:rereplace(string, "[^A-F0-9]", "", all); But if you're trying to do data validation, why wouldn't you throw out any data that doesn't match the regex [A-F0-9]{min,max}? -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > I can figure out how to remove a number of disallowed characters > from a string, but what if I want to include only a-f and 0-9 and > discard everything else? > > so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing > if a user supplies E97152C6CF1DD198DE9;hackcode; > > it is supposed to return: E97152C6CF1DD198DE9accde > > Is that possible with a single regex? Or will I have to cycle > through the string, and replace every character that doesn't match > [a-f]|[0-9] with nothing? > > Thanks! > Mischa, > > > > - > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application & interface developer http://www.zerium.com [phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- http://cfpayne.wordpress.com/ - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Regex help
Client side validation is useless in this case. This MUST be done server side. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "What is objectionable, what is dangerous about extremists is not that they are extreme, but that they are intolerant." -- Robert F. Kennedy, 1964 On Aug 7, 2006, at 12:56 PM, Teddy Payne wrote: Steven beat me to that one. I was just typing that. Also, it depends on how you implement your form as well. If you use HTML forms and non-flash form with regex validation, then you have javascript that can be turned off. Now if you implement a flash form, I believe the validation stays internal and not rendered as javascript. I believe the flash form SWF valdiation cannot be turned off from the browser's VM. Correct me if I am wrong Dean. Teddy On 8/7/06, Steven Ross <[EMAIL PROTECTED]> wrote: actually he would need this: rereplace(string, "[^a-fA-F0-9]", "", all); On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote:rereplace(string, "[^A-F0-9]", "", all); But if you're trying to do data validation, why wouldn't you throw out any data that doesn't match the regex [A-F0-9]{min,max}? -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > I can figure out how to remove a number of disallowed characters > from a string, but what if I want to include only a-f and 0-9 and > discard everything else? > > so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing > if a user supplies E97152C6CF1DD198DE9;hackcode; > > it is supposed to return: E97152C6CF1DD198DE9accde > > Is that possible with a single regex? Or will I have to cycle > through the string, and replace every character that doesn't match > [a-f]|[0-9] with nothing? > > Thanks! > Mischa, > > > > - > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application & interface developer http://www.zerium.com [phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- http://cfpayne.wordpress.com/ - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Regex help
Steven beat me to that one. I was just typing that. Also, it depends on how you implement your form as well. If you use HTML forms and non-flash form with regex validation, then you have _javascript_ that can be turned off. Now if you implement a flash form, I believe the validation stays internal and not rendered as _javascript_. I believe the flash form SWF valdiation cannot be turned off from the browser's VM. Correct me if I am wrong Dean.TeddyOn 8/7/06, Steven Ross <[EMAIL PROTECTED]> wrote: actually he would need this:rereplace(string, "[^a-fA-F0-9]", "", all); On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote:rereplace(string, "[^A-F0-9]", "", all); But if you're trying to do data validation, why wouldn't you throwout any data that doesn't match the regex [A-F0-9]{min,max}?-dhsDean H. Saxe, CISSP, CEH [EMAIL PROTECTED]"If liberty means anything at all, it means the right to tell peoplewhat they do not want to hear." -- George Orwell, 1945On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > I can figure out how to remove a number of disallowed characters> from a string, but what if I want to include only a-f and 0-9 and> discard everything else?>> so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing > if a user supplies E97152C6CF1DD198DE9;hackcode;>> it is supposed to return: E97152C6CF1DD198DE9accde>> Is that possible with a single regex? Or will I have to cycle> through the string, and replace every character that doesn't match > [a-f]|[0-9] with nothing?>> Thanks!> Mischa, -> To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa> For more info, see http://www.acfug.org/mailinglists> Archive @ http://www.mail-archive.com/discussion%40acfug.org/> List hosted by http://www.fusionlink.com> - > >>>-To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com- -- Steven Ross web application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- http://cfpayne.wordpress.com/ - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] Regex help
heh, you almost wrote the regex, you would just do [A-F0-9] as your match (or rather negate it and replace it with whitespace)... that is if you only want uppercase A-F if you want lower do [a-fA-F]course the problem with your example below would be that all of the letters in 'hackcode' that are in the a-f range would be included. On 8/7/06, Mischa Uppelschoten ext 10 <[EMAIL PROTECTED]> wrote: I can figure out how to remove a number of disallowed characters from a string, but what if I want to include only a-f and 0-9 and discard everything else?so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing if a user supplies E97152C6CF1DD198DE9;hackcode;it is supposed to return: E97152C6CF1DD198DE9accdeIs that possible with a single regex? Or will I have to cycle through the string, and replace every character that doesn't match [a-f]|[0-9] with nothing? Thanks!Mischa,-To unsubscribe from this list, manage your profile @http://www.acfug.org?falogin.edituserform For more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com--- Steven Ross web application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] Regex help
Not if his string is case-sensitive, which it appears to be. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "[T]he people can always be brought to the bidding of the leaders. This is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country." --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials On Aug 7, 2006, at 12:45 PM, Steven Ross wrote: actually he would need this: rereplace(string, "[^a-fA-F0-9]", "", all); On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote:rereplace(string, "[^A-F0-9]", "", all); But if you're trying to do data validation, why wouldn't you throw out any data that doesn't match the regex [A-F0-9]{min,max}? -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > I can figure out how to remove a number of disallowed characters > from a string, but what if I want to include only a-f and 0-9 and > discard everything else? > > so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing > if a user supplies E97152C6CF1DD198DE9;hackcode; > > it is supposed to return: E97152C6CF1DD198DE9accde > > Is that possible with a single regex? Or will I have to cycle > through the string, and replace every character that doesn't match > [a-f]|[0-9] with nothing? > > Thanks! > Mischa, > > > > - > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > - > > > > - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application & interface developer http://www.zerium.com [phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Regex help
actually he would need this:rereplace(string, "[^a-fA-F0-9]", "", all);On 8/7/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote:rereplace(string, "[^A-F0-9]", "", all); But if you're trying to do data validation, why wouldn't you throwout any data that doesn't match the regex [A-F0-9]{min,max}?-dhsDean H. Saxe, CISSP, CEH [EMAIL PROTECTED]"If liberty means anything at all, it means the right to tell peoplewhat they do not want to hear." -- George Orwell, 1945On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: > I can figure out how to remove a number of disallowed characters> from a string, but what if I want to include only a-f and 0-9 and> discard everything else?>> so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing > if a user supplies E97152C6CF1DD198DE9;hackcode;>> it is supposed to return: E97152C6CF1DD198DE9accde>> Is that possible with a single regex? Or will I have to cycle> through the string, and replace every character that doesn't match > [a-f]|[0-9] with nothing?>> Thanks!> Mischa, -> To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa> For more info, see http://www.acfug.org/mailinglists> Archive @ http://www.mail-archive.com/discussion%40acfug.org/> List hosted by http://www.fusionlink.com> -> >>>-To unsubscribe from this list, manage your profile @http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com--- Steven Ross web application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] Regex help
rereplace(string, "[^A-F0-9]", "", all); But if you're trying to do data validation, why wouldn't you throw out any data that doesn't match the regex [A-F0-9]{min,max}? -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 On Aug 7, 2006, at 12:29 PM, Mischa Uppelschoten ext 10 wrote: I can figure out how to remove a number of disallowed characters from a string, but what if I want to include only a-f and 0-9 and discard everything else? so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing if a user supplies E97152C6CF1DD198DE9;hackcode; it is supposed to return: E97152C6CF1DD198DE9accde Is that possible with a single regex? Or will I have to cycle through the string, and replace every character that doesn't match [a-f]|[0-9] with nothing? Thanks! Mischa, - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] Regex help
I can figure out how to remove a number of disallowed characters from a string, but what if I want to include only a-f and 0-9 and discard everything else? so if a user supplies: E97152C6CF1DD198DE95C7F2C2EF5EA0, do nothing if a user supplies E97152C6CF1DD198DE9;hackcode; it is supposed to return: E97152C6CF1DD198DE9accde Is that possible with a single regex? Or will I have to cycle through the string, and replace every character that doesn't match [a-f]|[0-9] with nothing? Thanks! Mischa, - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] regex help
its still only returning two variables in the array... On 5/17/06, Dean H. Saxe <[EMAIL PROTECTED] > wrote:ReFind uses pretty standard syntax. [^;] should work fine. Dean H. Saxe, CEH [EMAIL PROTECTED] "If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945 Find out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On May 17, 2006, at 11:50 AM, Teddy Payne wrote:Try this one. ReFind may not like the [^;] notation.((\/\/)[\s]+)?+menu[0-9]+.addItem[\(\"\w\d\,\:\/\.\)]+ On 5/17/06, Steven Ross < [EMAIL PROTECTED]> wrote: ugh sorry all, what do i use to capture all these elements... ReFind doesn't seem to support this... On 5/17/06, Teddy Payne < [EMAIL PROTECTED]> wrote:(\/\/)?[\s]+menu[0-9]+.addItem[^;]+ This captured the complete line to include the comments and optional space in between the // to the menu.addItem method.All you need to do is make sure not to use the strings that start with //. TeddyThis will get any addItem lines. Just make sure to exclude the results that start with the comments. On 5/17/06, Dean H. Saxe < [EMAIL PROTECTED] > wrote: Your regex is:menu[0-9]+[^;]+That gets from menu through the character preceding the semicolon. -dhs Dean H. Saxe, CEH [EMAIL PROTECTED] "To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore RooseveltFind out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On May 17, 2006, at 10:33 AM, Steven Ross wrote:Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help. I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates"," http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html"); menu1.addItem ("Atlanta Engineering"," http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem ("Engineering Product Assurance"," http://157.230.167.122/"); -- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] regex help
ReFind uses pretty standard syntax. [^;] should work fine. Dean H. Saxe, CEH[EMAIL PROTECTED]"If liberty means anything at all, it means the right to tell people what they do not want to hear." -- George Orwell, 1945Find out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On May 17, 2006, at 11:50 AM, Teddy Payne wrote:Try this one. ReFind may not like the [^;] notation.((\/\/)[\s]+)?+menu[0-9]+.addItem[\(\"\w\d\,\:\/\.\)]+On 5/17/06, Steven Ross < [EMAIL PROTECTED]> wrote:ugh sorry all, what do i use to capture all these elements... ReFind doesn't seem to support this... On 5/17/06, Teddy Payne < [EMAIL PROTECTED]> wrote:(\/\/)?[\s]+menu[0-9]+.addItem[^;]+ This captured the complete line to include the comments and optional space in between the // to the menu.addItem method.All you need to do is make sure not to use the strings that start with //. TeddyThis will get any addItem lines. Just make sure to exclude the results that start with the comments.On 5/17/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: Your regex is:menu[0-9]+[^;]+That gets from menu through the character preceding the semicolon.-dhs Dean H. Saxe, CEH [EMAIL PROTECTED] "To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore RooseveltFind out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On May 17, 2006, at 10:33 AM, Steven Ross wrote:Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help. I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates"," http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html"); menu1.addItem ("Atlanta Engineering"," http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem ("Engineering Product Assurance"," http://157.230.167.122/");-- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] regex help
Try this one. ReFind may not like the [^;] notation.((\/\/)[\s]+)?+menu[0-9]+.addItem[\(\"\w\d\,\:\/\.\)]+On 5/17/06, Steven Ross < [EMAIL PROTECTED]> wrote:ugh sorry all, what do i use to capture all these elements... ReFind doesn't seem to support this... On 5/17/06, Teddy Payne < [EMAIL PROTECTED]> wrote:(\/\/)?[\s]+menu[0-9]+.addItem[^;]+ This captured the complete line to include the comments and optional space in between the // to the menu.addItem method.All you need to do is make sure not to use the strings that start with //. TeddyThis will get any addItem lines. Just make sure to exclude the results that start with the comments.On 5/17/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: Your regex is:menu[0-9]+[^;]+That gets from menu through the character preceding the semicolon.-dhs Dean H. Saxe, CEH [EMAIL PROTECTED] "To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore RooseveltFind out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On May 17, 2006, at 10:33 AM, Steven Ross wrote:Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help. I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates"," http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html"); menu1.addItem ("Atlanta Engineering"," http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem ("Engineering Product Assurance"," http://157.230.167.122/");-- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] regex help
((\/\/)[\s]+)?+menu[0-9]+.addItem[^;]+Sorry Steve. The previous example that I showed you was greedy on leading white space on non-commented lines. Above is teh corrected RegEx.Sorry about that,Teddy On 5/17/06, Teddy Payne <[EMAIL PROTECTED]> wrote: (\/\/)?[\s]+menu[0-9]+.addItem[^;]+This captured the complete line to include the comments and optional space in between the // to the menu.addItem method.All you need to do is make sure not to use the strings that start with //. TeddyThis will get any addItem lines. Just make sure to exclude the results that start with the comments.On 5/17/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: Your regex is:menu[0-9]+[^;]+That gets from menu through the character preceding the semicolon.-dhs Dean H. Saxe, CEH [EMAIL PROTECTED] "To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore RooseveltFind out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On May 17, 2006, at 10:33 AM, Steven Ross wrote:Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help. I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates"," http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html"); menu1.addItem ("Atlanta Engineering"," http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem ("Engineering Product Assurance"," http://157.230.167.122/");-- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] regex help
ugh sorry all, what do i use to capture all these elements... ReFind doesn't seem to support this...On 5/17/06, Teddy Payne < [EMAIL PROTECTED]> wrote:(\/\/)?[\s]+menu[0-9]+.addItem[^;]+This captured the complete line to include the comments and optional space in between the // to the menu.addItem method.All you need to do is make sure not to use the strings that start with //. TeddyThis will get any addItem lines. Just make sure to exclude the results that start with the comments.On 5/17/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: Your regex is:menu[0-9]+[^;]+That gets from menu through the character preceding the semicolon.-dhs Dean H. Saxe, CEH [EMAIL PROTECTED] "To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore RooseveltFind out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On May 17, 2006, at 10:33 AM, Steven Ross wrote:Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help. I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates"," http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html"); menu1.addItem ("Atlanta Engineering"," http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem ("Engineering Product Assurance"," http://157.230.167.122/");-- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] regex help
(\/\/)?[\s]+menu[0-9]+.addItem[^;]+This captured the complete line to include the comments and optional space in between the // to the menu.addItem method.All you need to do is make sure not to use the strings that start with //. TeddyThis will get any addItem lines. Just make sure to exclude the results that start with the comments.On 5/17/06, Dean H. Saxe < [EMAIL PROTECTED]> wrote: Your regex is:menu[0-9]+[^;]+That gets from menu through the character preceding the semicolon.-dhs Dean H. Saxe, CEH [EMAIL PROTECTED] "To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore RooseveltFind out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On May 17, 2006, at 10:33 AM, Steven Ross wrote:Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help. I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates"," http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture"," http://infoserve.glenayre.com/AdvancedDev/default.html"); menu1.addItem ("Atlanta Engineering"," http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem("Engineering Product Assurance"," http://157.230.167.122/");-- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] regex help
Your regex is:menu[0-9]+[^;]+That gets from menu through the character preceding the semicolon.-dhs Dean H. Saxe, CEH[EMAIL PROTECTED]"To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore RooseveltFind out about my Hike for Discovery at www.fullfrontalnerdity.com/hfd On May 17, 2006, at 10:33 AM, Steven Ross wrote:Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help.I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates","http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html"); menu1.addItem ("Atlanta Engineering","http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem("Engineering Product Assurance","http://157.230.167.122/");-- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] regex help
yepOn 5/17/06, Teddy Payne <[EMAIL PROTECTED]> wrote: You want the entire line that has the addItem methods?So, your goal is to capture all the new menu items?Teddy On 5/17/06, Steven Ross < [EMAIL PROTECTED]> wrote: Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help. I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html ");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates","http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html "); menu1.addItem ("Atlanta Engineering","http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem("Engineering Product Assurance","http://157.230.167.122/"); -- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
Re: [ACFUG Discuss] regex help
You want the entire line that has the addItem methods?So, your goal is to capture all the new menu items?TeddyOn 5/17/06, Steven Ross < [EMAIL PROTECTED]> wrote:Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help. I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html ");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates","http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html "); menu1.addItem ("Atlanta Engineering","http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem("Engineering Product Assurance","http://157.230.167.122/"); -- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
[ACFUG Discuss] regex help
Hi all... this stuff always boggles my mind when I try to do it so yet again I'm asking for help.I'm trying to match only strings like the one below in a JS file using ReFind and return them individually.menu1.addItem ("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html");I have something like this but I think it is getting the first match all the way to the last ";" //var menu2 = ms.addMenu(document.getElementById("menu2")); //menu2.addItem("Updates","http://www.highend3d.com/maya/"); /* DEPARTMENTS MENU */ var menu1 = ms.addMenu(document.getElementById ("dropdown1")); menu1.addItem("Architecture","http://infoserve.glenayre.com/AdvancedDev/default.html"); menu1.addItem ("Atlanta Engineering","http://157.230.162.126/"); menu1.addItem("Compliance","/infoserve/departments/compliance/"); //menu1.addItem("Bids and Proposals","#"); menu1.addItem("Engineering Product Assurance","http://157.230.167.122/");-- Steven Rossweb application & interface developer http://www.zerium.com[phone] 404-488-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -