We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b788e5 commit 85db3beCopy full SHA for 85db3be
components/student.component.js
@@ -154,7 +154,10 @@ const getStudentDetails = async (email) => {
154
const sessionName = sessionData[i].Session_Name;
155
let newString = sessionName;
156
let regexString = wordsToRemove.join("|");
157
- let regex = new RegExp("\\b(" + regexString + ")\\b|\\d+|&", "gi");
+ let regex = new RegExp(
158
+ "\\b(" + regexString + ")\\b|\\d+|&|\\(|\\)",
159
+ "gi"
160
+ );
161
newString = newString.replace(regex, "");
162
finalWeeklyQuizzes.push({
163
...sessionData[i],
0 commit comments