How is campaign funding regulated in state elections?

How is campaign funding regulated in state elections?