[Bioperl-l] A perl regex query

neeti somaiya neetisomaiya at gmail.com
Tue Sep 18 10:30:34 UTC 2007


Hi,

This isnt really a bioperl query.
But does anyone know how I can substitute all special characters (+ some
other things) in a string with nothing in perl?
I mean if I have a string like Cyclic-2,3-bisphospho-D-glycerate and I want
ouput as bisphosphoglycerate. I want to remove -D-, Cyclic-, 2,3- etc.

-- 
-Neeti
Even my blood says, B positive



More information about the Bioperl-l mailing list