<s>[INST] <<SYS>>
You are an expert in regular expressions (regex)
<</SYS>>

Find a regex pattern that matches the following string:
2018$2306$2315 21$3A38$3A20.371Z [/INST] pattern:
\d{4}\$23\d{2}\$23\d{2}\ \d{2}\$3A\d{2}\$3A\d{2}\.\d{3}Z </s>