Re: ReFind - help with regex (ColdfusionMX 7)
Hi Will, I sincerely apologise to you and to anyone else who got the impression that I was someone who jsut wanted a quick solution. I began working on this yesterday evening, I have spent all of today trying out different things but have not had any luck yet. This is what I've managed so far: )(.+?)(<\/a>)', contents, 1, true) /> I think I'm right in saying that I don't have to match the " >Is someone willing to help me with my problem? I would very much > appreciate your help. > > > >Regards, > >J > > I'll tell you what I do in situations like this. I read info/books > about Regexs and try to solve it myself. > > I may work on a problem for hours without finding a solution. > > Then, if I can't figure it out, I'll post the non-working code I've > been working on to the list. Other folks on the list know I've at > least ATTEMPTED to solve my own problem and may be more inspired to > help out. If you simply want someone else to write code for you, > you're on the wrong list > > Shoot, Regexs are just too cool not to learn anyway. :) > > Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310879 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ReFind - help with regex (ColdfusionMX 7)
>>I want to loop through a directory in my codebase and return a list of href tags This could be easily handled by CF_Reextract. You can get all your hrefs in a query using simple regExps. See http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310874 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ReFind - help with regex (ColdfusionMX 7)
>Is someone willing to help me with my problem? I would very much appreciate >your help. > >Regards, >J I'll tell you what I do in situations like this. I read info/books about Regexs and try to solve it myself. I may work on a problem for hours without finding a solution. Then, if I can't figure it out, I'll post the non-working code I've been working on to the list. Other folks on the list know I've at least ATTEMPTED to solve my own problem and may be more inspired to help out. If you simply want someone else to write code for you, you're on the wrong list Shoot, Regexs are just too cool not to learn anyway. :) Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310872 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ReFind - help with regex (ColdfusionMX 7)
Is someone willing to help me with my problem? I would very much appreciate your help. Regards, J > Hello everybody, > > I need your help with regular expressions. I want to loop through a > directory in my codebase and return a list of href tags. The href > value for ex must be in this format. #request.udf.geturl(NUMERIC VALUE, > STRING)# > > title="Free">FREE > > Here's what I have for now: > > > recurse="true" filter="dsp_*.cfm" /> > > Processing #viewDir.recordcount# files.. > > > #viewDir.name# >variable="contents" charset="utf-8"> > > > > Can someone do me a big favour and send me the regular expression to > match the string in the way I have mentioned? Many thanks in advance. > > Regards, > > John ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310870 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
ReFind - help with regex (ColdfusionMX 7)
Hello everybody, I need your help with regular expressions. I want to loop through a directory in my codebase and return a list of href tags. The href value for ex must be in this format. #request.udf.geturl(NUMERIC VALUE,STRING)# FREE Here's what I have for now: Processing #viewDir.recordcount# files.. #viewDir.name# Can someone do me a big favour and send me the regular expression to match the string in the way I have mentioned? Many thanks in advance. Regards, John ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310854 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4