How Can You Replace A Portion Of Strings With Another Value?

Report
Question
7 views

Please explain why do you think this question should be reported?

Report Cancel

we can use Regular Expression to match and replace a portion of a string with another value.string.replace(‘#’,”).replace(‘_’, ‘ ‘);

Please follow and like us:

About the Author