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

  • SEARCH
  • Home
  • 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 7621323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:10:07+00:00 2026-05-31T04:10:07+00:00

Firstly, I hate to be a pain but I’d like to know how to

  • 0

Firstly, I hate to be a pain but I’d like to know how to specifically do this in the Search Regex WordPress plugin. It’s a popular plugin, but I don’t understand how the Replace pattern works for it, it suggests that it accepts regex, but ends up just using literals.

How can I use a replace pattern to insert a space after a certain set of letters. I have the search pattern sorted, just need to know how to replace with a space.

So if we supposed I had a search that looked for every instance where ‘testing’ was followed by a few letters and I wanted to put a space after each instance.

e.g.

testingstring

should be replaced with…

testing string
  • 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-05-31T04:10:08+00:00Added an answer on May 31, 2026 at 4:10 am

    OK, I know my initial question is probably not very clear, but just in case this helps anyone in future, what I eventually realised is that I needed to split up my Regex search term using brackets e.g.

    If I wanted to split up some words, where ‘testing’ was followed by a bunch of other letters than I would search for…

    /([tT]esting)([a-zA-Z]+)/

    Then the replace pattern would be…

    \1 \2

    the \1 would match the search pattern in the first set of brackets, then I have a space, and the \2 would match the search pattern in the second set of brackets. So let’s take the following string…

    foo testingbar 123

    Under the search and replace patterns above, the string would be replaced by…

    foo testing bar 123

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

Sidebar

Related Questions

Firstly, this is going to sound like homework, but it ain't. Just a problem
Firstly, this seems like something that should have been asked before, but I cannot
Firstly, I wrote my customized setter for an NSString* like this: - (void)setDateString:(NSString *)newDateString
Firstly sorry if this is a common question but I couldn't find anything on
Firstly, I know this [type of] question is frequently asked, so let me preface
Firstly I hate IE but we all have to support it! I have a
Firstly, I have search Stack Overflow for the answer, but I have not found
Firstly, I would like to say that I don't mean the full path, what
Firstly, very sorry if this is not a true stackoverflow question. But it's something
Firstly I have tried to re create this within a JSfiddle but unable to,

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.