# 浏览器中如何搜索有指定格式的记录

**URL:** <https://forums.ankiweb.net/t/topic/48916>\
**Category:** Help\
**Created:** [September 2, 2024, 6:22am UTC](https://forums.ankiweb.net/t/topic/48916 "2024-09-02T06:22:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangcb80](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@wangcb80](https://forums.ankiweb.net/u/wangcb80)\
**Post date:** [September 2, 2024, 6:22am UTC](https://forums.ankiweb.net/t/topic/48916/1 "2024-09-02T06:22:22Z")

</div>

我想在某个字段中搜索带有指定格式的记录。也就是只搜索在某个class中的记录，该如何写呢？

---

<div class="post-metadata">

**Author:** ![wangcb80](https://avatars.discourse-cdn.com/v4/letter/w/839c29/32.png) [@wangcb80](https://forums.ankiweb.net/u/wangcb80)\
**Post date:** [September 2, 2024, 9:57am UTC](https://forums.ankiweb.net/t/topic/48916/2 "2024-09-02T09:57:01Z")

</div>

我已经解决了问题，我要搜索class=oneH 和 class=yingYong之间的内容时，同时内容包括"原"和"will"时，我在浏览器中搜索词是这样的：

```auto
ChatGPT解惑-text:re:.*class.*oneH.*>原.*will.*<.*yingYong.*

```

我更想在上面方法的基础上增加一种排除法，比如，出现上面这种情况时，内容又不包括"cidd"字符的，但目前好像办不到吧？！

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [October 2, 2024, 9:57am UTC](https://forums.ankiweb.net/t/topic/48916/3 "2024-10-02T09:57:12Z")

</div>

Closed on October 2, 2024, 9:57am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
