Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

cntrl-f search on webpage with cr/lf character

more options

I have a text on a webpage on 2 lines, which are separated by (invisible) instruction to go to the next line (a so-called "cr/lf").

I copy this text (including the cr/lf) from the web page to the clipboard. I activate the search function with "control-f", and I paste this text in the search box, then Firefox finds 0 matches.

for example:

line1 line2

Between line1 and line2 is a CRLF.

So, in above example, on the clipboard there is "line1CRLFline2"

I have the following questions:

1. Is there a way to overcome this? To find correct search result? (1 match) 2. Is there a plugin/extension available that can handle the above scenario?

I have a text on a webpage on 2 lines, which are separated by (invisible) instruction to go to the next line (a so-called "cr/lf"). I copy this text (including the cr/lf) from the web page to the clipboard. I activate the search function with "control-f", and I paste this text in the search box, then Firefox finds 0 matches. for example: line1 line2 Between line1 and line2 is a CRLF. So, in above example, on the clipboard there is "line1CRLFline2" I have the following questions: 1. Is there a way to overcome this? To find correct search result? (1 match) 2. Is there a plugin/extension available that can handle the above scenario?

Giải pháp được chọn

The built-in Find in page feature doesn't search across paragraph breaks.

I tested the Regex Search extension (https://addons.mozilla.org/firefox/addon/regexsearch/), which can find across a paragraph break, but it wasn't able to highlight across the boundary (screenshot attached).

I don't know whether any other extensions that support regular expression (RegEx) searching would be useful.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (1)

more options

Giải pháp được chọn

The built-in Find in page feature doesn't search across paragraph breaks.

I tested the Regex Search extension (https://addons.mozilla.org/firefox/addon/regexsearch/), which can find across a paragraph break, but it wasn't able to highlight across the boundary (screenshot attached).

I don't know whether any other extensions that support regular expression (RegEx) searching would be useful.