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 8013555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:39:53+00:00 2026-06-04T19:39:53+00:00

I have these html title tags with titles separated by some : (maybe two

  • 0

I have these html title tags with titles separated by some : (maybe two or three or four, or whatever), and I need to reverse their order like the following example:

<title>text1: text2: text3: text4 | sitename</title>

sometimes they are more or less : I mean more or less only text1, 2 ,3 or more than text4 separated by :

output:
text4: text3: text2: text1 | sitename

P.S. I use notepad++ and I need to edit this in bulk for many files..

Thanks,

  • 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-04T19:39:54+00:00Added an answer on June 4, 2026 at 7:39 pm

    This is possible via Notepad++ (I’m using version 6.1.2) but it’s not very pretty…

    Using regular expression find replace you can do the following…

    Find:

    <title>(.*?)?: (.*?: )?(.*?: )?(.*?: )?(.*?: )?(.*?: )?(.*?: )?(.*?: )?(.*?: )?(.*?: )?(.*?) \| (.*?)</title>

    Replace:

    <title>$11: $10$9$8$7$6$5$4$3$2$1 | $12</title>

    BUT it comes with a warning. This assumes that your list of :textA items will never be longer than 11 instances.

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

Sidebar

Related Questions

I load in HTML pages via Ajax. These files have no <title><head><body> tags, etc.
I have already included these tags in my html file: <head> <meta property=og:title content=MyTitle/>
I have an application with two html files: app/page1.html app/page2.html These pages share dependencies,
I want to show three XMLs on a single html page. These XMLs have
I have written a html page where i want a header,content,footer. All these three
I have these (sample) lines in a HTML-file: test.ABC.test test.ABCD.test test.ABCE.test And this Ant
I have a bunch of these little bits of HTML code repeated over and
I have an index.html and global.css files. When I open these files at Coda,
I followed these instructions here: http://logback.qos.ch/consolePlugin.html I have the correct and found logback.xml, it
I have docbook generated HTML that contains small, fixed size images. All these images

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.