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 delete all text that is not between the words
Special":and"Sourceusing the Obsidian Regex Find/Replace plugin, you can use the following regular expression pattern:Regular Expression Pattern:
regex^(.*?)(Special":.*?"Source)(.*?)$Replacement Pattern:
regex$2Explanation:
^- Matches the start of the line.(.*?)- Captures any text (non-greedy) before theSpecial":word. This is stored in group$1.(Special":.*?"Source)- Captures the text starting withSpecial":and ending with"Source. This is stored in group$2.(.*?)- Captures any text (non-greedy) after"Source. This is stored in group .
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.