Completed

Very Simple Project With Replace All JavaScript

I need to escape special characters in a javascript string. I am trying:

itemName = [login to view URL](/+/g,'%2B');

itemName = [login to view URL](/#/g,'%23');

but having no success.

I am getting an error that says

"Uncaught SyntaxError: Invalid regular expression: /+/: Nothing to repeat"

If there are other special characters I need to escape to send strings via a URL let me know. I am using myURL = encodeURI(myURL); before my AJAX call.

I require all all strings of all sorts of characters to be sent over ajax. You are not responsible for writing the ajax - that has already been done. I just want to ensure that any special characters get escaped and I am having trouble with the regex.

Skills: AJAX, Javascript, jQuery / Prototype, Web Development, Website Management

See more: php mysql simple project database, simple project php, linked list simple project java, javascript replace all spaces, javascript string replace all, lodash replace all, javascript replace special characters, javascript string replace regex, jquery string replace all, node js replace all, javascript replace all commas, simple project vba using sql, simple project jsp servlet, simple project xml javascript, design a very simple logo similar to pepsi logo must be clever quick work needed 2 day max timeline super easy job all bids acce, simple java project with simple coding, to start with i do like the current design it has very little csshtml and is very simple, to start with: i do like the current design it has very little css/html and is very simple, very simple holiday website with a very small database for price calculation, simple asp net project with design and code

About the Employer:
( 97 reviews ) Mount Savage, United States

Project ID: #18035506

Awarded to:

pankajpatra27

Hi i have interested on your project. i have 3.5+ years of experience in web development. Looking forward to work with you

$10 USD in 1 day
(0 Reviews)
0.0

19 freelancers are bidding on average $17 for this job

Yknox

Dear,I am Jin . I'm interested in the project you recently posted. I'm a certificated freelancer with over 1100 good reviews from clients. I never disappoint my clients and I'm able to lead your project to success a More

$25 USD in 10 days
(58 Reviews)
7.0
techwelfare

We could escape special characters in a javascript string. We have been working in website industry for last 10 years... We are ready to [login to view URL] let us know when would you like us to start?

$33 USD in 1 day
(39 Reviews)
5.9
configtechnolabs

Hi I can fix this regex issue in 1-2 hours. Please share me you code to fix it right now. I have 10 years experience in web development. Thanks

$20 USD in 0 days
(28 Reviews)
5.1
hjvasoya

Hello, Your job attracted my attention because it is compatible with my freelancing interests and experience. I'm well Qualified & Professional Developer having experience in developing quality Websites And Mobi More

$15 USD in 1 day
(29 Reviews)
4.5
DaniilSpasov

Hi, there! I took a deep interest in your job. I read your job description carefully and got the points that you want. I am a newbie on Freelancer.com but I have been working as a full stack web developer for over 7 More

$20 USD in 1 day
(2 Reviews)
3.2
BhaskararaoG

I have good knowledge in regex and ajax.I can solve your issue.I can start now when you hired me.I am very dedicated and determined developer

$15 USD in 1 day
(4 Reviews)
3.1
rrgamit

I will Solve that issue. Please Provide me the Code Greetings I am having 5 Years of experience in Web Development and jQuery experts. I am Ready to Start the immediately Regards Kamlesh J

$15 USD in 10 days
(17 Reviews)
3.3
NEHABHAT92

Hi, we have gone through your requirements and we can do this task. The skills and resources needed for this project are in my genes. I can assure you for a complete professional work in given time [login to view URL] sh More

$17 USD in 10 days
(3 Reviews)
2.5
xingren

Hello Sir! I am a Professional PHP & Full-Stack developer. I have read your description in details. As a developer with rich experience, I am confident about your project. I have extensive experience in this field More

$15 USD in 10 days
(1 Review)
1.5
mehulpkava

Hello Sir, I am Experience Web Developer , I am Interested in Your work . Hire me I can Done This In Within Hour. Thankyou

$10 USD in 1 day
(2 Reviews)
1.2
hardikchavda1237

Hello, I have gone through the post and yes; I will help you for sure to design and develop a Website with clean design and clear responsiveness to all devices. As per your requirement, I would like to tell you that More

$15 USD in 10 days
(1 Review)
0.4
Andrea712

HI, I am front end developer. I can complete the regular expression for you and also help you with any other task you may have.

$17 USD in 10 days
(0 Reviews)
0.0
samkat4u

Hi, I am working as a web application development with around 6 years of experience. I am having strong knowledge of javascript, so I can complete your project in very less time. We can go ahead with this bid. More

$17 USD in 2 days
(0 Reviews)
0.0
NephSys

Thank you We have developed thousands of websites in many programming languages for clients all over the world. twalters84 could you please inbox me more detail about this project

$20 USD in 3 days
(0 Reviews)
0.0
bibinphilip

11+ years of experience in web development project using ASP.NET, WebAPI, jquery, SQL Server. Please let me know if you are interested to hire me. Thank you.

$10 USD in 1 day
(0 Reviews)
0.0
visiontech6

"Hi, Hope you are doing well! Thanks for sharing your project requirement with us. It will be our great pleasure to work on your project. I have checked your requirement, yes we can do it, because we already work on si More

$16 USD in 7 days
(0 Reviews)
0.0
subtitlesworld

Hello sir/madam, good day, i read your job description fully... I have worked on similar projects to what you are looking for, and I am confident that I can exceed your expectations. I can complete your project on time More

$17 USD in 10 days
(0 Reviews)
0.0
poojajuvline

hello sir, i have 10+ years experiance in web developing ...so i am really glad on this project please provide this opportunity to me ... thank u so much..

$15 USD in 4 days
(0 Reviews)
0.0