Help with regex javascript


This is a very very small task, so i cant pay a lot for this.

But im not a wizard with regex.

And i got a dilemma with regex and javascript currently.

I want to trim/remove spaces in the start and end of a string, and remove dashes "-" in the start and end of string.


a = " - Some Words - Yep"

b = "Some Words - Yep - "

I want that to become a = "Some Words - Yep" and b "Some Words - Yep"

Kemahiran: Javascript, jQuery / Prototaip

Lihat lagi: click text show help message javascript, show help input javascript, sliding help popup javascript, javascript regex test, javascript regular expression match, javascript regex replace, javascript regex example, regular expression javascript, javascript regex group, javascript regex tester, javascript regex match example, popup help layer javascript, help convert javascript flash, scrolling help panel javascript, need help fixing javascript, help learning javascript, expert php help needed to fix and create, help create a table and fill in some data-very urgent, help for hire edit and margin book, help online developer ios and android

Tentang Majikan:
( 3 ulasan ) Billund, Denmark

ID Projek: #18113872

Dianugerahkan kepada:


Hi, I will be happy to help with your project. It should take a few minutes to write the Regex expression for you. I have more than 2 years of PHP, JavScript, JQuery, CSS, and WordPress development. If you ha Lagi

$5 USD / jam
(5 Ulasan)

10 pekerja bebas membida secara purata $5/jam untuk pekerjaan ini


Hello, sir. I'm very glad to find out this project and to help you. I've more than 5 years of Web Development experience - PHP, MySQL, CSS, JavaScript, ... I'll do my best if you accept me and I'll give you a lot of Lagi

$4 USD / jam
(13 Ulasan)

I can help you with regex in javascript -quality and faster-delivery is promised. I can build a website on S h o p i f y as you want. I have done this kind of work so many times so I know how to complete this job Lagi

$5 USD / jam
(22 Ulasan)

Inca create a rule to fix your string within the hour. I hope we can collaborate together. Thank you

$5 USD / jam
(6 Ulasan)

Hi Thank you very much for Looking at my proposal. I am very interested in your project. I have just read your requirement carefully and was exciting with feeling to satisfy you in your project. I have rich exper Lagi

$5 USD / jam
(5 Ulasan)

Hi. If you see my proposal you will get good luck on this job because I am a very great web expert with these skills Html/css/Javascript/Jquery/ Maybe I will be your best candidate so please ping me. No worry abo Lagi

$5 USD / jam
(4 Ulasan)

Hi I am good at JS I can help you well Please ping me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

$7 USD / jam
(3 Ulasan)

no need to write anything.

$3 USD / jam
(0 Ulasan)

Hello, I read job description and this letter is to express my interest to do your task. With hands-on experience efficiently coding websites and applications using Javascript, HTML, CSS, ReactJs, Bootstrap, jQuery, P Lagi

$2 USD / jam
(0 Ulasan)

hi, dear sir i have lot of experience using regex .i can help you in this task and with in time.

$5 USD / jam
(0 Ulasan)