filter in regular expression
Can you please help me out for the following issues for the regaular expressions.
1.I need the regualr expression that it has to filter the numbers(for example numbers ranguing from 1 to 20 .but I need the values which is greater than 5(x>5).)
2.i need to filter the two sections from from the table of contents(for example A1,A2,A3,A4,A5 and A6 are the chapters,from this I need to filter the chapters A1 and A5)
Please suggest the regualr expression for the above 2 examples.