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 = <a href="http://blah.com?search=Some
Lingering Suspicion" target="_blank">"A Lingering Suspicion"</a>
or varUrl = "Some Lingering Suspicion"
Please clarify.
Ajas.
On 6/5/07, Steven Ross < [EMAIL PROTECTED]> wrote:
> in this string:
>
> <p><b>15) <a href=" http://blah.com?search=Some Lingering Suspicion"
> target="_blank">"A Lingering Suspicion"</a></b></p>
>
> 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
>
-------------------------------------------------------------
>
>
>
>
--
<Ajas Mohammed />
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
-------------------------------------------------------------