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>&nbsp;<span
class="raque">&raquo;</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/

Reply via email to