Does this look like it will work? Is there a better way to do this?
to match "Opening Curly Brace + SomeString + Space Char + Any Number of Letters and Numbers and Space Chars + Closing Curly Brace"Code:$pattern = '/\{SomeString\s*[0-9a-fA-F\s]\}/';
I would be using this with preg_replace.



Reply With Quote

Bookmarks