KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I use the .replace function to replace multiple strings: string.replace("condition1", "").replace("condition2", "text") although that feels like bad syntax what is the proper way? like how in grep/regex you can do \1 and \2 to replace fields to certain search strings
Tags (comma-separated)
Save Edits
Cancel