i have an issue with the curly brackets.
the source:
Code: Select all
body { background-color: #FCDC8E; }the code:
Code: Select all
preg_match("/body \{ background-color: #(.*?); \}/i",$theData, $obody);i can get the color finebackground-color: #(.*?);
but it is necessary for me to use the curly brackets in order to get the correct body statement from the file.
is it possible to escape curly brackets in order for this to work.