
Hi,
i 'm trying to code with regex and java. i want to know how it's possible to delete lines which starts with a letter like G or g in a text.
i tried this but it's not working, please i need help.
[CODE] String[] paras = Pattern.compile("(?i)((s|i|r|o|s|m|t|n)[\s,]*)+").split(inputText); //String[] paras = Pattern.compile("[--]").split(inputText); [CODE/]
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.