One more for the regex guru's
How about excluding the link when there is no content between the double
quotes?
Would adding {.,0} do the trick?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lindsay
Evans
Sent: Thursday, 26 June 2003 6:01 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: RegEx in DreamWeaver
The RegEx will match the first one, as it is matching any character
(except for line breaks, I believe) any number of times.
This would probably be a better way to go:
<a href="([^"]*)"
Which matches any character that *isn't* a double quote any number of
times.
HTH
--
Lindsay Evans.
Developer,
Red Square Productions.
[p] 8596.4000
[f] 8596.4001
[w] www.redsquare.com.au
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Taco Fleur
Sent: Thursday, June 26, 2003 5:41 PM
To: CFAussie Mailing List
Subject: [cfaussie] RegEx in DreamWeaver
I am using a regex to find a string in DreamWeaver and I thought
<a href="(.*)[^"]"
Would return:
<a href="index.cfm/page.application"
but instead it returns:
<a href="index.cfm/page.application" class="more">More..</a> <span
class="raque">»</span></p></td>
Is my regex wrong or any other ideas?
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
unsubscribe send a blank email to
[EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
unsubscribe send a blank email to
[EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/