KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Okay, so ive got a long string, and I want to remove everything thats inside, except for decimal numbers, comma's and dots, I have tried: str = str.replace("[^0-9\\.\\,]",""); But this just ends up in nothing.. Can anyone help me? Thanks!
Tags (comma-separated)
Save Edits
Cancel