Exercise: Level 3 #3 #663
              
                Unanswered
              
          
                  
                    
                      leviathan125
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| Hello there,  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I am not sure how to tackle this question because this day doesn't really cover the regexp.
This is the code that I have so far and I am only able to clear the % symbol please help:
`const sentence = '%I $am@% a %tea@cher%, &and& I lo%#ve %te@a@ching%;. The@re $is no@th@ing; &as& mo@re rewarding as educa@ting &and& @emp%o@weri@ng peo@ple. ;I found tea@ching m%o@re interesting tha@n any ot#her %jo@bs. %Do@es thi%s mo@tiv#ate yo@u to be a tea@cher!? %Th#is 30#Days&OfJavaScript &is al@so $the $resu@lt of &love& of tea&ching'
let patternFive = /%/g, patternSix = /$/g, patternSeven = /&/g, patternEight = /@/g, patternNine = /;/g
console.log((sentence.replace(patternFive, '')))
`
Beta Was this translation helpful? Give feedback.
All reactions