@Yann_K
Hi, regular expressions are hard to find. I can’t write regular expressions by myself either.
However, if you give a prompt to a generation AI such as ChatGPT or Claude to create a regular expression to get only dates from this sentence, along with the content of the email, it will create the regular expression for you.
Sometimes it works the first time, but it usually works after two or three revisions by the generating AI.
When reaching out for assistance with extracting text, it would be super helpful if you could share the actual text you’re trying to match. Screenshots of text can be a bit tricky, so if you could copy and paste the text directly here, that would be awesome! It ensures we can run it against test patterns effectively. If there’s any sensitive info, feel free to change it to something fictional yet still valid by keeping the format intact.
Providing clear text examples saves time on both ends and helps us give you the best possible solution. Without proper examples, we might end up playing a guessing game, and nobody wants that as it is a waste of time! You are more likely to get a correct answer faster. So, help us help you by sharing those text snippets.
Please format the example text this way to preserve line breaks and special characters:
These are the two ways to format text so that it won’t be modified by the forum:
Method 1: Type code block manually
Add three backticks ``` before and after the content/bundle, like this:
``` content goes here
```
Method 2. Highlight and click the format button in the editor
Hope this helps! Let me know if there are any further questions or issues.