Is there a way to remove certain data from a String when it is found?
I only want to report the hour the store is Open. So this:
M-F,8am-5pm;SA,Closed;SU,Closed
| M,9am-5pm;T,Closed;W,9am-5pm;TH,Closed;F,9am-5pm;SA,Closed;SU,Closed |
would need to become:
M-F,8AM-5PM
| M,9am-5pm;W,9am-5pm;F,9am-5pm |
Is there some sort of find and replace I could do?
Thanks in advance for any help.