Here's what I'm wanting to do:

   1. Find all tiddlers that contain a specific macro call in their main 
   body
   2. Isolate the text of the macro call
   3. Copy the macro call text into a new field
   4. Replace the text of the macro call with a reference to the new field

Steps 1 and 3 seem easy enough, but I'm not sure how to approach 2 and 4.

An example of what I want to do:

*Title: Whatever*
*Tags: Whatever*
*Text:*

*<<single_image imageURL>>*

*other text in the main body*

*Fields: None*

The above should become the below:

*Title: Whatever*
*Tags: Whatever*
*Text:*

*{{!!image}}*

*other text in the main body*

*Fields:*
*image: <<single_image imageURL>>*

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9551551d-94e4-44ce-b702-966e98fb7d92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to