[JavaScript] Fix my regex

ปิด โพสต์แล้ว 7 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
ปิด ชำระเงินเมื่อจัดส่ง

I need someone who is experienced with regular expressions, also known as regex.

Suppose I got a file upload parser, which is coded in PHP/JS. I want it to check if the filename contains alphanumeric characters (letters A-Z, numbers 0-9, or hyphens '-').

Here's the catch: Suppose the given file name is equal to this name:

"My best HoLiDaY IN [login to view URL]".

I want the regex to check for every possibility, whether it's case insensitive or not.

Here is the function I want you to fix:

[login to view URL] = function(){

return [login to view URL]( /(^|\s)([a-zA-Z\.])/g , function(m,p1,p2){ return p1+[login to view URL](); } );

};

การเขียนโปรแกรม C++ Java JavaScript PHP Regular Expression

หมายเลขโปรเจค: #13743206

เกี่ยวกับโปรเจกต์

28 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

freelancer 28 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ £21

chapter247

Dear Hiring Manager, Hi, How are you..? we have gone through with the requirements and I am ready to work on this project and with you. We have designed and built websites for various types of businesses very suc เพิ่มเติม

£23 GBP ใน 1 วัน
(22 รีวิว)
6.4
webproind

Bid Summary Hi i read your requirement and our programmer can fix it .Thanks Project Requirements Check whether the filename contains only alphanumeric and hypen letters using regex Relevant Skills and Experience Hav เพิ่มเติม

£11 GBP ใน 1 วัน
(65 รีวิว)
5.5
itXpertSoft

i can do it right now. Can you please explain what exactly you want the regex expression to do? Thanks

£18 GBP ใน 1 วัน
(19 รีวิว)
4.6
mderevyanchuk

A proposal has not yet been provided

£17 GBP ใน 1 วัน
(29 รีวิว)
4.9
Weborchid

We have a very experienced team of developer who can deliver the best result of your requirements for web application with javascript. Let's discuss in detail.

£13 GBP ใน 2 วัน
(12 รีวิว)
4.6
taiaburbdon

I am expert with php,codeigniter, laravel framework, slim framework, wordpress, mysql, AJAX, JSON, javascript, jQuery, bootstrap, css3 and html5. I am develop large scale web application. Linux server administration เพิ่มเติม

£23 GBP ใน 1 วัน
(21 รีวิว)
4.3
hiteshkumar2

Hello I understand your requirements. I am able to do this work according to your needs. I have 2 year hand on experience in web development and one year as front end developer. I have sound knowledge of Wordpress เพิ่มเติม

£18 GBP ใน 1 วัน
(19 รีวิว)
5.2
BhavinJethava

Hi, I have more then 5 years of experience in JAVA,Web technologies like Spring , Hibernate and Desktop application like JAVAFX. Kindly share your requirements in details I will serve you best with my best efforts. เพิ่มเติม

£19 GBP ใน 1 วัน
(12 รีวิว)
3.9
freelancer0340

I am a PHP Web Developer in a Payment Gateway Company. I have a lot of experiences in Web Development based on PHP, JavaScript as well as JQuery. I can solve the issue in the fastest period.

£18 GBP ใน 1 วัน
(5 รีวิว)
3.3
ask1107

Hi, I have experience in regex. I can help you with it. I have used regex in many applications. We can discuss urther over chat

£18 GBP ใน 1 วัน
(1 รีวิว)
0.0
numbercrunzer

A proposal has not yet been provided

£18 GBP ใน 2 วัน
(0 รีวิว)
0.0
sharmaganesh413

A proposal has not yet been provided

£18 GBP ใน 1 วัน
(0 รีวิว)
0.0
magesh07sekar

A proposal has not yet been provided

£19 GBP ใน 1 วัน
(0 รีวิว)
0.0
aspatidar

A proposal has not yet been provided

£13 GBP ใน 1 วัน
(0 รีวิว)
0.0