I'm looking for a command that will remove everything after a certain point in a string.
For example, here is a string:
"This is my product. It costs $15. Note: the price may change."
I want to remove everything from "Note:" (including Note🙂 on and make it:
"This is my product. It costs $15."
I'm sure that eregi_replace can do this but I can't figure it out. Any ideas?