Java: Regular expression to strip out: %j or %f
<p>Is there an easy way to strip out something like %j or %f out of a string and replace it with an int?  like: </p>

<p>XYZ: %J Num: %f </p>

<p>becomes </p>

<p>XYZ: 12 Num: 34</p>
