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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:50:01+00:00 2026-05-15T12:50:01+00:00

can someone tell me the javascript regular expression for physical path like 1) User

  • 0

can someone tell me the javascript regular expression for physical path like

1) User Should enter something like this in the textbox( c://Folder1/) . Maybe in d: or e:

2) But after that acceptable

a) (c://Folder1/Folder2/)

b) (d://Folder1/Folder2/Folder3/abc.txt)

e) (c://Folder1/Folder2/Folder3/abc.txt)

  • 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-15T12:50:01+00:00Added an answer on May 15, 2026 at 12:50 pm

    From the examples you’ve given, something like this should work:

    [a-zA-Z]://(\w+/)+
    

    ie:
    [a-zA-Z] = a single letter (upper or lower case)
    followed by
    :// = the characters “://”
    followed by:
    (\w+/)+ = at least one “something/”.
    “something/” defined as :
    \w+ = at least one word character (ie any alphanumeric), followed by
    / = literal character “/”

    Hope this helps – my syntax may be a little off as I’m not fully up to speed on the javascript variant for regex.

    Edit: put regex in code tags so it is visible! And tidy up explanation.

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

Sidebar

Ask A Question

Stats

  • Questions 514k
  • Answers 514k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Don't worry, using pref.getTitle().equals("Default as grid") worked fine. May 16, 2026 at 6:11 pm
  • Editorial Team
    Editorial Team added an answer Can you use Linq: List<ListItem> list1 = GetYourList1(); List<ListItem> list2… May 16, 2026 at 6:11 pm
  • Editorial Team
    Editorial Team added an answer I'm a little unclear what it is you're trying to… May 16, 2026 at 6:11 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Can someone tell me what exactly the two above lines of javascript do? And
Can someone tell me what is the main difference between a JavaScript object defined
am currently studying jquery, can someone tell me the things that javascript native can
Can someone tell me if this is a bug in the SDK/IDE: Any custom
Can someone tell me please why the following example work in Firefox but not
Can someone tell me where to add the small piece of code to have
Can someone tell me how to tell Wordpress' tinymce editor to NOT strip out
Can someone tell me how to return the value of status as the function's
Can someone tell me how to create tabs in the title bar area of
Can someone tell me why the following code intermittently throws an exception ? I

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.