
    Develop a function that converts database field names from the legacy fraud detection system's snake case format to the new standardized camel case format required by the bank's transaction monitoring API. The function must handle various transaction-related field names like "transaction_amount" or "merchant_location_id" and transform them while preserving the original characters and their sequence. The converted field names will be used to standardize data formats across different fraud detection modules and ensure consistent pattern analysis.
    

    
import re

def snake_to_camel(word):
    """
    Develop a function that converts database field names from the legacy fraud detection system's snake case format to the new standardized camel case format required by the bank's transaction monitoring API. The function must handle various transaction-related field names like "transaction_amount" or "merchant_location_id" and transform them while preserving the original characters and their sequence. The converted field names will be used to standardize data formats across different fraud detection modules and ensure consistent pattern analysis.
    

    """
import re

def snake_to_camel(word):
    """
    Develop a function that converts database field names from the legacy fraud detection system's snake case format to the new standardized camel case format required by the bank's transaction monitoring API. The function must handle various transaction-related field names like "transaction_amount" or "merchant_location_id" and transform them while preserving the original characters and their sequence. The converted field names will be used to standardize data formats across different fraud detection modules and ensure consistent pattern analysis.
    

    """
    return ''.join((x.capitalize() or '_' for x in word.split('_')))