Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8935155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:56:03+00:00 2026-06-15T09:56:03+00:00

On my blog I am using a plugin called Search Regex. At the end

  • 0

On my blog I am using a plugin called Search Regex.

At the end of each Post, I delineate the lineage of the person the Post is about.

What is the regular expression please that would

Replace:

Joe Smith --> John Smith --> Bill Smith

With:

(div tag here)Joe Smith --> John Smith --> Bill Smith(closing div tag here)

Basically any line that contains a dash dash greater than sign I want the line to begin with this div tag and end with the closing div tag.

What is the regular expression that would identify any line with a dash dash greater than sign and then insert the above div tags please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:56:05+00:00Added an answer on June 15, 2026 at 9:56 am

    Replace the regular expression /.*-->.*/ with the value <div>$0</div>, where $0 is a placeholder for the matched string (the exact syntax may vary depending on what language you are using).

    Note that . does not match a new line by default.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

OK, so I am using a jQuery plugin called CountUp: http://blog.ogulcanorhan.com/weekend-project-jquery-countup-plugin/ The script is
Im using the plugin detailed here: http://www.thatagency.com/design-studio-blog/2009/01/refreshing-an-element-at-a-set-time-interval-using-jquery-and-a-sprinkle-of-ajax/ Here is my jQuery: $(document).ready(function(){ var j
I'm using this great plugin: http://www.sanisoft.com/blog/2009/06/22/jquery-auto-correct-plugin/ But it's not working with 1.6.2 or greater...
I am using the Quickflip 2 plugin ( http://jonraasch.com/blog/quickflip-2-jquery-plugin/comment-page-3#comment-3562 ) to have images flip
I'm using quicklfip ( http://jonraasch.com/blog/quickflip-2-jquery-plugin ) for Chinese character flashcards. The front panel will
So in a wordpress blog using prettylinkpro plugin, I found a link to the
I'm using a Sharebar plugin in my wordpress blog, which is floating vertically on
I'm using WP-MINIFY plugin on my Wordpress blog but because of my server's security
I am using qtranslate wordpress plugin to store blog content in multiple languages. Now
I'm using Subscribe2 plugin in my new upcoming WordPress blog ( http://www.adlerr.com ). My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.