Page is a not externally linkable
Dabrowski - 3:02 am on Apr 25, 2007 (gmt 0)
You need to use /(.*?)(#¦$)/ instead. The one you've got will return null if there is no #thing on the end. That one will do either. Note improper representation of ¦ symbol! It should be a logical OR, SHIFT +BACKSLASH on UK keyboard. No idea on US.
Actually that Regex won't work.