[JavaScript] Fix my regex

Fermé Publié le il y a 7 ans Paiement à la livraison
Fermé Paiement à la livraison

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](); } );

};

Programmation C++ Java JavaScript PHP Expressions régulières

Nº du projet : #13743206

À propos du projet

28 propositions Projet à distance Actif il y a 6 ans

28 freelances font une offre moyenne de 21 £ pour ce travail

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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(22 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(65 Commentaires)
5.5
itXpertSoft

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(19 Commentaires)
4.6
mderevyanchuk

A proposal has not yet been provided

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(29 Commentaires)
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 en 2 jours
(12 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(21 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(19 Commentaires)
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. Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(12 Commentaires)
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.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(5 Commentaires)
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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(1 Évaluation)
0.0
numbercrunzer

A proposal has not yet been provided

£18 GBP en 2 jours
(0 Commentaires)
0.0
sharmaganesh413

A proposal has not yet been provided

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(0 Commentaires)
0.0
magesh07sekar

A proposal has not yet been provided

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(0 Commentaires)
0.0
aspatidar

A proposal has not yet been provided

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% GBP en 1 jour
(0 Commentaires)
0.0