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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:48:32+00:00 2026-05-26T20:48:32+00:00

i wont to cut my string with sed but i dont know how it

  • 0

i wont to cut my string with sed but i dont know how it works

my string:

../config_export-import/JCRAPI-usecases-export-doc-10.xml

I need get only :

JCRAPI-usecases-export-doc-10.xml

This not static string, “config_export-import” path always different, but always static is
“JCRAPI-usecases-“

  • 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-26T20:48:33+00:00Added an answer on May 26, 2026 at 8:48 pm

    couple of ideas:

    sed 's/^.*JCRAPI-usecases-/JCRAPI-usecases-/'
    
    grep -o "JCRAPI-usecases-.*"
    
    basename ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

not sure why my code wont work, im teaching myself javascript i know php
I have no idea why this wont work but I have tried the following:
I wont to do insert to one mysqll server to and get the data
firefox wont allow the javascript to save a file in client machine is the
strtok wont work correctly when using char *str as the first parameter (not the
Any idea why this wont print the errors? // Validate the email if (preg_match($regex,
The silverlight app wont load in any browser. The outline is there when highlight
Possible Duplicate: Eclipse wont start after computer restart Lately I opened my eclipse and
since a primary key (identifier) wont be under 0, i guess it should always
for some reason this code wont work, it doesn't seem to read the javascript.php

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.