Using the text editor obsidian plugin regex find/replace, create a pattern that will…
Rate quality
Private research annotation
Sign in to add a private research label or note.
- User
Using the text editor obsidian plugin regex find/replace, create a pattern that will delete all text that is not within the two words Special": and “Source
Assistant
To create a pattern that will delete all text that is not within the two words
Special":and"Sourceusing the Obsidian Regex Find/Replace plugin, you can use the following regular expression:Regular Expression:
regex(?s)(Special":).*?(?="Source)|(?!Special":).+?(?="Source)Explanation:
(?s)- This enables the "single-line" mode, which allows the dot.to match newline characters.(Special":)- This matches the literal text .
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.