Regex PHP – Get specific text including new lines and multiple spaces

I was trying to get the text starting from css:{(some text…)} up to the ending bracket only, not including the texts below in another text file using php. test.sample just a sample text css:{ “…