-2

Possible Duplicate:
Remove commas from the string using javascript

I want to remove special character in my string while searching . MY string is "It's complicated". I wnat to remove ' from my string.

Can anybody please help me??

Community
  • 1
  • 1
Kp Gupta
  • 483
  • 2
  • 7
  • 23

1 Answers1

3

"It's complicated".replace("'", "");

david
  • 17,925
  • 4
  • 43
  • 57