Complete a Regular Expression for Combobox

Completed Posted Aug 27, 2013 Paid on delivery
Completed Paid on delivery

I need someone to complete a regular expression for me. I'm almost there and just need one final push, unfortunately I'm a novice when it comes to regex.

I'm creating a combobox type field that autocompletes from a set of values. Each value can only be selected once, so I'm using regex to filter out values that have already been selected. If you look at the "Post Project" page on Freelancer, the "Skills" combobox on that page works exactly the same way as what I am trying to accomplish.

I've got it to work for the most part, but I am having trouble with values that have spaces in them.

I will provide a link to my project on jsFiddle once I have accepted a freelancer to make the necessary changes. I expect it should take no more than 10 minutes if you know what you are doing. Thanks!

JavaScript Perl PHP Software Development Web Scraping

Project ID: #4867221

About the project

8 proposals Remote project Active Aug 27, 2013

Awarded to:

tikumishra

I can do it for you [login to view URL] please

$15 USD in 1 day
(13 Reviews)
4.7

8 freelancers are bidding on average $26 for this job

jitendraparmar07

Hello sir, I can do this. Please check your PMB for more details. Thanks

$33 USD in 3 days
(29 Reviews)
5.2
sweetoasis

Hi, I'm interesting this. Thanks.

$35 USD in 1 day
(1 Review)
3.0
Teloquence

Consider it done. Check your PM for my bid details

$29 USD in 0 days
(3 Reviews)
3.0
sachitjani81

Check PMB for details

$23 USD in 3 days
(3 Reviews)
1.6
ObjectStream

please my profile.

$30 USD in 5 days
(0 Reviews)
0.0
Gautham22

Hi I am ready and I can help you in 1 day.

$25 USD in 3 days
(0 Reviews)
0.0