User Control Panel
|
|
|
 |
Advertisements
|
 |
|
|
|
HELP US, HELP YOU!
|
| Author |
Message |
draget Not Yet a God

Joined: 29 Dec 2004 Posts: 367 Location: Australia
   
|
Posted: Sun Mar 13, 2005 6:27 am Post subject: |
|
|
Hi,
How can i use a regex to replace â?¢ (a base64 decode to make a dot point) with a dash?
$response =~ s/â?¢/\-/g; |
|
| Back to top |
|
 |
mattaustin Sentinel

Joined: 19 Jul 2004 Posts: 556 Location: Los Angeles, CA
  votes: 1
|
Posted: Sun Mar 13, 2005 10:24 pm Post subject: |
|
|
$response =~ s/â\?¢/\-/g;
the question mark is also used in regex so you need to \ it out  _________________ [ matt ] |
|
| Back to top |
|
 |
draget Not Yet a God

Joined: 29 Dec 2004 Posts: 367 Location: Australia
   
|
Posted: Mon Mar 14, 2005 9:20 am Post subject: |
|
|
| ok, thanks! |
|
| Back to top |
|
 |
|
|