• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

| in lookbehind

New Here ,
Apr 27, 2023 Apr 27, 2023

Copy link to clipboard

Copied

I'm trying to find instances of "salt" or "Salt" within a particular style.  When I use

(?<![T|t]able )salt

I get "Kosher" or "kosher" salt and "unsalted"

I've tried seemingly every combination of | with cap and lc kosher and "un" to exclude those, but nothing has worked. I think I'm tripping over brackets and parentheses in the wrong combinations. 

Can anyone help? THANK YOU in advance if you can help me with this.

 

TOPICS
How to

Views

81

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2023 May 25, 2023

Copy link to clipboard

Copied

LATEST

Hi @ArchieOldie,

I could not understand your question fully. Can you share a sample input and explain what should be found and what should not be found

-Manan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines