Hello,
We have given our customers a standard subject line that they can use to raise tickets. Something like this: Booking No. // Request Type// MM-DD-YYYY
I want to extract the MM-DD-YYYY and pass that value to a custom field so that we can run SLA based on this field and prioritize case accordingly.
Please point me in the right direction on how to do this, thanks!

Great discussion so far! To extract an 8-digit number from the subject line using Liquid markup, you can apply a bit of filtering since Liquid doesn’t have full regex support but you can work around it.
Assuming your subject contains an 8-digit number somewhere (e.g., "Onboarding Request 12345678 ABC|123"), you could try something like this:
This loops through the subject split by spaces and picks the one with 8 characters, which hopefully matches your number. You might need to tweak the condition if your subject format varies.
Once you've assigned eight_digit_number, you can map it to a custom field like in previous examples.
If you need more precise pattern matching, exploring Zendesk Triggers with external webhooks and using regex there might be a better fit.
Feel free to share an example subject line, and I or others can help tailor the snippet further!
Hope this helps!