I'm trying to make a regular expression that tests for "something anything something". Here's some code to illustrate some:
$html = ereg_replace('style=\"\'["\']' , "" , $html)
The goal being to strip out inline style. I know this'll need more work, but if I can just get something to stand for that anything then I should be able to do the rest, like only stripping out style arguments that are inside a tag. At first I used [:graph:], but that doesn't work, because they could and likely would have spaces in the style argument. Then I tried ([:graph:][:space:]*), but it doesn't match the string.