Removing margin,padding properties using Regular expression in java
i have a css file and i want to remove all margin properties(left,right,bottom) and   padding(left,right) properties using regular expresion in java.please help me with this


this is my css

    .calibre {
            background-color: white;
            display: block;
            font-family: Times New Roman;
            font-size: 1em;
            margin-bottom: 0;
            margin-left: 20pt;
            margin-right: 20pt;
            margin-top: 0;
            padding-left: 0;
            padding-right: 0;
            text-align: justify
            }


and output will be like this


    .calibre {
            background-color: white;
            display: block;
            font-family: Times New Roman;
            font-size: 1em;
            text-align: justify
            }
Removing margin,padding properties using Regular expression in java
===

i have a css file and i want to remove all margin properties(left,right,bottom) and   padding(left,right) properties using regular expresion in java.please help me with this


this is my css

    .calibre {
            background-color: white;
            display: block;
            font-family: Times New Roman;
            font-size: 1em;
            margin-bottom: 0;
            margin-left: 20pt;
            margin-right: 20pt;
            margin-top: 0;
            padding-left: 0;
            padding-right: 0;
            text-align: justify
            }


and output will be like this


    .calibre {
            background-color: white;
            display: block;
            font-family: Times New Roman;
            font-size: 1em;
            text-align: justify
            }