i'm trying to use regex to delete lines which starts with a letter or a number.
for example: if i have a text file with many lines and i want to delete every lines which starts with S and 2.
What operator do i have to use?
i tried this but it prints every line from text.
String paras = Pattern.compile[B]("2(.*?)stop")[/B].split(inputText);