Source

ideallical tools.

ii_tools.remove_all_capitals_except_dsq(string_value)

Remove all capitals except the letters D, S & Q.

Parameters:string_value (str) – the string to filter
Returns:the filtered string
Return type:str
Raises:ValueError – if the string_value is not a string_type