If anyone can shed some light on this it would be most appreciated.
I'm fairly new to programming and extremely new to regular expressions. I am wondering how to match a patern case insensitive, and replace that pattern with the original word.
Ex:
user searches for "example"
I want to return "Example" (original text from Db) high-lighted.
I've got eregi_replace() working, but if the original word was uppercase, it's returned lowercase 🙁
Thanks