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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:12:51+00:00 2026-05-11T04:12:51+00:00

For example, in this text: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc

  • 0

For example, in this text:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu tellus vel nunc pretium lacinia. Proin sed lorem. Cras sed ipsum. Nunc a libero quis risus sollicitudin imperdiet.

I want to match the word after ‘ipsum’.

  • 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. 2026-05-11T04:12:52+00:00Added an answer on May 11, 2026 at 4:12 am

    This sounds like a job for lookbehinds, though you should be aware that not all regex flavors support them. In your example:

    (?<=\bipsum\s)(\w+) 

    This will match any sequence of letter characters which follows ‘ipsum’ as a whole word followed by a space. It does not match ‘ipsum’ itself, you don’t need to worry about reinserting it in the case of, e.g. replacements.

    As I said, though, some flavors (JavaScript, for example) don’t support lookbehind at all. Many others (most, in fact) only support ‘fixed width’ lookbehinds — so you could use this example but not any of the repetition operators. (In other words, (?<=\b\w+\s+)(\w+) wouldn’t work.)

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

Sidebar

Related Questions

Lets say we have some text: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
I have a text like this : string text = Lorem ipsum dolor sit
for example this code var html = <p>This text is <a href=#> good</a></p>; var
have a look at this example link text It creates a dialog with a
This is my example script: $html = <<<HTML <div class=main> <div class=text> Capture this
Everytime a specific action is made in JavaScript for example this: <script type=text/javascript> $(function()
I have a JavaScript variable similar to: a_name_string: RT @<a href=http://twitter.com/SomethinG>SomethinG</a>: Lorem ipsum dolor
For example: This is main body of my content. I have a footnote link
How to get a file's creation date or file size, for example this Hello.jpg
Given this example: <img class=a /> <img /> <img class=a /> <img class=a id=active

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.