i am not much familiar with regex expressions use in Java.
If i have a String this/is/a/file!/path
now with substring
and indexOf
i can find the name file appearing inbetween /
and !
but i am pretty sure such tasks must be much easier using regexes.
难道有人能给我一个榜样,用雷克语这样做?