Ha! Fletcher and Rod, I got it to work right before Fletcher wrote using this 
in the find field:

(?s)^Last Updated: (.+?)\. (.+?), (.+?)\n\n(.+)

And this in the replace field:

Last Updated: \1\. \2, 
\3\n\nSynopsis:\n\n<==========================================================>\n\n\4\n<==========================================================>\n\n\n\n\n


That works perfectly, and is a lot shorter than my previous attempt, and your 
attempts as well. Here is what it produces:

Last Updated: Jan. 10, 2011

Synopsis:

<==========================================================>

Year 2000 Hype, Bogus Aliens Spirit Helpers Channelers And
Esoteric Knowledge, The Blasphemous Urantia Book, Dolores
Cannon And "Conversations With Nostradamus", False Angels Of
Light And Other Questionable Sources, Propagation Of New Age
Thought, Sheldon Nidle's Bogus UFO Mass Landings Prediction,
An Imaginary Photon Belt, The Ascension Point, False Prophets
And Charlatans Exposed By Time Itself, Scriptures Concerning
False Prophets And Teachers, A Plethora Of Modern Deceivers,
Christendom Also Infiltrated, The Social Networks Deception,
2012 Hype, Deceivers' Changing Narratives, Birds Of A Feather
Flock Together For Support And Validation, Charlatan Tom Horn
And Money-Making Book Writing Scam, Stanley A. Fulham And His
Transcendors, Weeds And Parable Of Wheat And Tares, Measuring
Rod Of God's Word, God Will Send Us Strong Delusion If That's
What We Truly Want, Beware Of Time-Based Predictions, Verify
Reliability Of Source Information, Failed Predictions Weaken
Faith In God's Word, Modern Scoffers And Christ's Return,
Satan's Scheme To Discredit True Prophets Of God, True Faith
Does Not Require Evidence Signs Or Miracles, Modern Apostasy,
Mary Apparition In Wisconsin, Decline Of Roman Catholicism And
Mary Worship, Evil Generation Seeks A Sign, Jewish Elders
Demanded A Sign, Jewish Religious Elders Concealed Evidence Of
Resurrection

<==========================================================>


Kind regards,

Bill Kochman


> On Jul 23, 2025, at 12:21 AM, fletc...@cumuli.com wrote:
> 
> The pattern .+ won't match multiple lines by default. You can change it to 
> [\s\S]+ and it will match the entire block.
> 
> Last Updated: (.+?)\. (.+?), ([0-9][0-9][0-9][0-9])\n\n([\s\S]+?)\n\n\n\n
> 
>> On Jul 22, 2025, at 4:26 AM, Bill Kochman <wordweaver...@gmail.com> wrote:
>> 
>> The problem is that I cannot figure out what to use to cover the main text 
>> part of the synopsis which is AFTER ([0-9][0-9][0-9][0-9])\n\n and BEFORE 
>> \n\n\n\n. You can see that I have added a final (.+?) for the main text of 
>> the syopsis. However, when I use that, the text is not being highlighted, so 
>> that is apparently wrong.
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or believe that the application isn't working correctly, please email 
> "supp...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: 
> <https://mastodon.social/@bbedit>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com 
> <mailto:bbedit+unsubscr...@googlegroups.com>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/bbedit/090D6CC3-3BE6-4DD4-A3B4-1EE1FE490599%40cumuli.com
>  
> <https://groups.google.com/d/msgid/bbedit/090D6CC3-3BE6-4DD4-A3B4-1EE1FE490599%40cumuli.com?utm_medium=email&utm_source=footer>.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"supp...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/bbedit/CB42CE2B-91CD-47E9-8721-4F164453A983%40gmail.com.

Reply via email to