Search found 1 match
- Thu May 13, 2010 4:04 pm
- Forum: Regex
- Topic: Match on dollar sign. HELP
- Replies: 2
- Views: 2693
Match on dollar sign. HELP
I'm looking to make a regex that gets a word that starts with a dollar sign and am having some trouble. Ex: String : "Hello world. My name is $Michael"; I want the preg_replace to replace it with: http://www.twitter.com/Michael/ Here is what I've tried "\$([A-Za-z]\s)#ise", "...