I wanna remove all rows in the text file that have have Non-English characters in Powershell, here is what I've tried so far:
Where-Object {( $_ -notlike '[\x00-\x7F]+' ) -or ( $_ -notlike '[\u4e00-\u9fff]')}
However, the Asian characters (Japanese, Korean and Russian) are still there and did not got removed, such as the below:
多発性硬化
多発性硬化症
다발 경화증
다발성 경화증
タハツセイコウカショウ
Рассеянный склероз
Can someone point out what's wrong with my code? Thanks!