Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
161
rated 0 times [  167] [ 6]  / answers: 1 / hits: 133708  / 14 Years ago, sat, november 27, 2010, 12:00:00

Would it be possible to change



Hello, this is Mike (example)


to



Hello, this is Mike


using JavaScript with Regex?


More From » regex

 Answers
41
Hello, this is Mike (example).replace(/ *([^)]*) */g, );


Result:



Hello, this is Mike

[#94820] Thursday, November 25, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
travion

Total Points: 137
Total Questions: 96
Total Answers: 103

Location: India
Member since Wed, Aug 4, 2021
3 Years ago
travion questions
Mon, Dec 16, 19, 00:00, 5 Years ago
Sat, Oct 19, 19, 00:00, 5 Years ago
Fri, Sep 20, 19, 00:00, 5 Years ago
Wed, Nov 14, 18, 00:00, 6 Years ago
Sun, Oct 28, 18, 00:00, 6 Years ago
;