Tag: character

What is the php regular expression to get everything before a certain character?

Question by John C: What is the php regular expression to get everything before a certain character? For instance, I have the following string: table:column I need to get “table” as the result of the php regular expression. So, I need everything before the “:” symbol After that regular expression is performed, I would also

read more