I am trying to create a regex that matches percentage for marks
For example if we consider few percentages
1)100% 2)56.78% 3)56 78.90% 4)34.6789%
The RegEx \\d+(\\.?\\d+)?% would work.
\\d+(\\.?\\d+)?%