Hi there,
If I have a string that looks like my name is {your name here} and I am from {country}.
I am trying to use preg_replace to remove the {content}
so the string ends up as my name is and I am from .
But I can not work out the regex for the pattern.
Can someone please help me out?
my name is and I am from .
is simply a sample string.
it could be something like the current date is {current date} in {suburb}