Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9324065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T04:30:11+00:00 2026-06-19T04:30:11+00:00

How do i remove only non utf8 keywords/lines in a text file. eg. 你好

  • 0

How do i remove only non utf8 keywords/lines in a text file.

eg.

你好
相手123abc
this is only abc

I only want to remove lines that contain all english words and not the lines with utf8 words. So in this case only ‘this is only abc’ will be removed. Is it possible to do it in notepad++ or do i need to write a script for it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T04:30:13+00:00Added an answer on June 19, 2026 at 4:30 am

    This is possible using the following steps;

    • Open Notepad++ select the Find menu and select the last tab ‘Mark’, enter the regex ^(([a-zA-Z])+\s?)+, select Bookmark Line, and click the button ‘Mark All’.

      Marking English only files as bookmarked

    • From the drop down menu select; Search –> Bookmark –> Remove Bookmarked Lines

      Finished file

    I would also recommend making sure Notepad++ is up to date. I tested this with version 6.3. Marking lines is something added quite recently.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to remove only those ul with li that doesn't have a custom
I want to keep only numbers and remove all characters from a variable. For
i want to remove the link from my header using CSS so that only
How can I remove all non alphanumeric characters from a string in PHP? This
Is it possible in Aptana(PyDev) to only remove the autocomplete that completes the '
I want to remove the option Invite Only from Membership Requests in Organic Groups.
RemoveDirectory() removes only empty directories. How do I remove directories that have files inside?
My url generates like this: only shows in ie9 http://myurl.com/#/categories/posts how do I remove
I want to remove everything after and including the decimal, and everything non-numerical except
I need regular expression for which will remove all Non numeric character excluding. means

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.