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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:33:45+00:00 2026-06-15T21:33:45+00:00

For example I have the following paragraph When you are ready to complete the

  • 0

For example I have the following paragraph

When you are ready to complete the interview, click Interview me . Don’t worry, you will have a chance to practice before you take the full interview. The job closing date is December 30, 2030 so make sure you have your response back to us by then. Thanks for applying.

I need to delete the entire sentence containing ‘December 30, 2030’.

Please suggest a solution.

  • 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-15T21:33:46+00:00Added an answer on June 15, 2026 at 9:33 pm

    You can do this multiple ways, but I would just use this method:

    1. Explode your string on .
    2. Go through your values and keep only the ones, where December 30, 2030 is not present.

    But this will have problems if you havea . inside a sentence. In this case, you will need to think of a different way to sepperate your sentences from each other.

    $string = "When you are ready to complete the interview, click Interview me . Don't worry, you will have a chance to practice before you take the full interview. The job closing date is December 30, 2030 so make sure you have your response back to us by then. Thanks for applying.";
    $search = "December 30, 2030";
    
    $sentences = explode( '.', $string );
    
    $new_string = '';
    foreach ( $sentences as $sentece )
    {
        if ( !strpos( $sentece, $search ) )
            $new_string .= $sentece . '.';
    }
    

    Output:

    When you are ready to complete the interview, click Interview me . Don't worry, you will have a chance to practice before you take the full interview. Thanks for applying.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

for example i have following xml input: <Letter> <LetterProductInfo> <Paragraph> <DisplayOrder> 20 </DisplayOrder> <Text>
I have the following example paragraph: The following is my text. My introductory line
For example I have the following string $s = asd$5asd; how can I take
I think this will be better explained with an example I have the following
for example I have the following: <div class=both> <textarea data-id=1 name=t1>Value 1</textarea> <input type=checkbox
for example I have the following: I want to go through each div class
Say for example I have the following styles: #HorizNav ul li a.active:link { background-color:
I'm trying to figure out how XSLT process namespace prefixes and have following example:
I have following structure with example data: id season_id title 1 1 Intro 2
I have following condition: How do I send email to example@mail.com on submitButton clicklistener

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.