I'm trying find a way to do some text replacement using a wiki-style notation.

What I want is to find all instances of

[[

followed by any number of letters, numbers, and/or underscores

followed by

=

followed by any characters

ending with

]]


Example: [[SUBJECT=Welcome to the group!]]


I'm part of the way there. If I already know the "tag" on the left side of 
equals sign I can find it:

"\[\[SUBJECT=[^\]]+\]\]"


But trying to genericize it isn't working.

\[\[[A-Za-z0-9_]=[^\]]+\]\]


Help? Obviously I'm trying for non-greedy matches. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1083
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21

Reply via email to